![]() Make sure to copy the token if you want your bot to work! # Token leak scenario If it's any shorter and looks more like this: kxbsDRU5UfAaiO7ar9GFMHSlmTwYaIYn, you copied your client secret instead. Tokens look like this: 4MCQywSkoMRRclStW4xAYK7I (don't worry, we immediately reset this token before even posting it here!). If someone does manage to get a hold of your bot's token, they can use your bot as if it were theirs-this means they can perform malicious acts with it. With that said, it is vital that you do not ever share this token with anybody, purposely or accidentally. # What is a token, anyway?Ī token is essentially your bot's password it's what your bot uses to login to Discord. ![]() If you happen to lose your bot's token at some point, you need to come back to this page and reset your bot's token again which will reveal the new token, invalidating all old ones. When we ask you to paste your bot's token somewhere, this is the value that you need to put in. Your bot's token will be revealed when you press the "Reset Token" button and confirm. In this panel, you can give your bot a snazzy avatar, set its username, and make it public or private. It explains what your bot token is, as well as the security aspects of it.Īfter creating a bot user, you'll see a section like this: Please see the Discord Developer Terms of Service for more information about use of Discord’s brand features and APIs.This section is critical, so pay close attention. ![]() These licenses do not grant you rights to use any of Discord’s trademarks or other brand features. LicenseĮxcept as otherwise noted, the Discord API Documentation and other content in this repository is licensed under the Creative Commons Attribution-ShareAlike 4.0 License (see LICENSE), and code samples in this repository are licensed under the MIT License (see LICENSE-CODE). ![]() It's a great starting point for those looking to dive in and learn bot-creation with the Discord API. The Unofficial Discord API server is a common hangout for library and bot developers alike. If you are looking for a community, join the server below. However do keep in mind this is a purely on-topic server. The Official Discord Developers server has plenty of help channels with knowledgeable people and Discord's developers to get you help with something you need, and get updates straight from the developers. Here are some Discord servers that can help you out with everything Discord API: ( #README/h6-headings) Alert BoxesĪlert boxes are achieved by using a block quote that has one of 'warn', 'danger' or 'info' on the first line. For instance, to link to the above H6 heading section: Links between docs can be achieved by using a hash symbol (#), plus the markdown file name, plus a slash, and finally the dash-separated anchor. H6 headings should be used above tables and code blocks to properly label them. This repository uses special markdown syntax that helps style the resulting web version of the documentation. Discussions: Discord API feature and improvement requests.It omits features and capabilities that are not generally available, or are not fully supported for third-party usage. This repository reflects the Discord API as it is meant to be accessed by third-party applications. Before submitting pull-requests, please remember to fully read the Contributing guidelines. This repo contains the official Discord API documentation, which can be viewed online HERE. ![]()
0 Comments
Leave a Reply. |