Where can I locate the necessary Discord Bot credentials and IDs?

Hey everyone!

I’m trying to set up a Discord bot and I’m stuck. I can’t seem to find some important info I need. Does anyone know how to get the application_id, guild_id, channel_id, version, id, and authorization for a Discord bot?

I’ve been looking through the Discord Developer Portal but I’m not sure where to find all these details. Are they hidden somewhere in the settings? Or do I need to do something special to access them?

Any help would be great. I’m new to this and feeling a bit lost. Thanks in advance!

As someone who’s built a few Discord bots, I can tell you it’s not always straightforward. The application_id is indeed in the Developer Portal under your app’s General Information. For guild_id and channel_id, you’ll need to enable Developer Mode in Discord’s appearance settings first. Then it’s just a matter of right-clicking the server or channel and selecting ‘Copy ID’.

The version typically refers to the Discord API version you’re using in your code. Check the docs for the latest. The bot’s user ID is in the Bot section of your app in the Developer Portal.

For authorization, you’re looking for the bot token. It’s in the Bot section too, but be careful - never share this publicly. It’s basically the keys to your bot.

One tip: keep all these IDs and tokens in a secure config file. Makes development a lot smoother. Good luck with your bot!

yo, finding those creds can be a pain! for the app_id, check ur dev portal. guild_id n channel_id need developer mode on - right click to copy IDs. version’s in the API docs. bot ID’s in the Bot section. authorization is ur bot token - don’t share it! good luck with ur bot, mate!

Getting those Discord bot credentials can be tricky at first. Here’s where to find them:

application_id: In the Discord Developer Portal, go to your application and look for ‘Application ID’ on the General Information page.

guild_id: Enable Developer Mode in Discord settings, then right-click your server and select ‘Copy ID’.

channel_id: Similar to guild_id, but right-click the channel instead.

version: This generally refers to the API version you are using. Check the Discord API documentation to verify the current version.

id: This might refer to the bot’s user ID. In the Developer Portal, navigate to the ‘Bot’ section to view the bot’s user ID.

authorization: In the ‘Bot’ section, you can reveal and copy your bot’s token, which serves as the authorization key.

Hope this helps you get your bot up and running!