I want to know how to grab a discord token when a user is verifying on my server. So that the tiktok is either sent to a channel or saved in a file.
I have tryed searching for a code for this but I could find any. I'd very appreciate it if someone could help me.
Discord has certain limitations in the API, one of them is this. For privacy, it does not let bots access user tokens.
Related
I think I need some answer from discord api experts.
I'm wondering if someone can detect using bots below logics.
If we enter the server, we will have initial channel. (for example Welcome)
There some rules will be described and we will have emojis like check / symbols for the server.
And after user click, bot can detect the user id and can send direct message to him/her.
Is it possible for the outside guy of the server? (I mean without any discord related api key)
Thanks
Since I don't have exp with this just went through the discord docs, but didn't find proper resources.
I am new to creating a discord bot. I hope you can all give me a good solution to my problem.
I tried to create a bot for a company's server and followed a free guide. I had one problem when adding the bot to the server.
I got a message that the authorization succeeded but I cannot find the bot on the server. The guide clearly mentioned that I can find an offline bot. So I created my own discord server and tried again. OMG, it went well.
What's the problem?
Should I change the discord server setting? If yes, which option?
I think that the server settings are done in the way that the bot does not have a permissions to be in the channel you are trying to find it in. If you have admin permissions take a look into User management in server settings if the bot did or did not join and if it did, give it some permissions so that it has an access to the channel you want to see it in.
(On the right panel you see member of the channel you are currently clicked onto not the entire server.)
I want an app/bot that reads the last message that were sent to a specific channel on a server that I participate and depending on the text I want to send a message to that same channel. The thing is, I want to do it in my name, not using a bot id. I know that you can create a bot using your own name and avatar but what I really want is to send a message using my own account. Is that possible? Could not find anything like that in the docs, maybe a missed something?
I do not think you are even allowed to do this so I doubt the discord API would have support for this
Discord Guidelines
"Do not use self-bots or user-bots. Each account must be associated with a human, not a bot. Self-bots put strain on Discord’s infrastructure and our ability to run our services. For more information, you can read our Developer Policies"
However, if you really wanted to do this you could use a macro at the risk of getting your account banned by discord if they found out. You could create a macro in python using the pyautogui module.
Im just a new in discord bot and i want to learn how to create ones. Every youtube and google tutorial, there is a button to reveal and copy the token but there is no reveal and copy discord bot token in my discord. Anyone know how to solve this?
As of very recently (this is not documented in their changelog so I cannot provide an exact date), you can only view your token when creating your bot for the first time.
If you have lost or forgotten your token, you can go to:
https://discord.com/developers/applications/{your_application_ID}/bot
There, you would have to regenerate a token by clicking "Reset token" (see image below), which will stop the old one from working and provide you with a new one. Once again, this new one will only visible the first time you reset it.
Note: users with 2FA will have to authenticate with their chosen authenticator.
Try another browser.
I had the same issue (token not showing no matter how many times I clicked on that reset button) on firefox. I tried with another browser (I happened to have a windows with edge on hand) and the token showed up when I reset it.
Have you tried accessing the bot using the https://discord.com/developers/applications page.
Also, in the Discord client (app), these is an option in Advanced that you can turn on Developer Mode.
I hope this help solving your problem!
I'm new to discord.js but I would like to understand. Is it possible to achieve a functionality that would send message as my current user?
I mean for example I'm normal user on a discord server and I want to send randomly some jokes every day once. But this should happen from my current user, which has the discord name.
I know I can have a bot created and registered, but this is another approach I think.
My questions are: Is this achievable with discord.js or not really? Is this functionality achiavable at all? And where do I begin?
Thanks for any help.
It is possible. It's just like making a discord BOT. But rather than making a bot application and using its token, you just use YOUR token.
This is purely for educational purposes only, and you shouldn't use it for anything else. Everything is possible, especially with discord.js.
What you are describing is a "self-bot", and is against the Terms of Service. As such, it is not supported.
Discord has made an announcement regarding self-bots before.
Here is a relevant excerpt:
Automating normal user accounts (generally called "self-bots") outside
of the OAuth2/bot API is forbidden, and can result in an account
termination if found.