Difference between revisions of "Discord/API"
< Discord
Jump to navigation
Jump to search
(registering a bot) |
|||
Line 2: | Line 2: | ||
==API / Bots== | ==API / Bots== | ||
Basic setup: the [https://discordapp.com/developers/docs/intro Developer Documentation] includes controls for managing bots. Under <code>Applications -> Authorized Apps</code> you add an application, then add a user for that application. (It will say this is "irrevocable"; I'm not sure what this means, but it may mean that the user will exist forever and you can't delete it, or it may just mean that the user will always be tied to the application for as long as the application still exists. It looks like you can delete the application and start over if you want.) The "bot token" you will need for running the app is on the application properties page, under <code>app bot user -> token</code>. | Basic setup: the [https://discordapp.com/developers/docs/intro Developer Documentation] includes controls for managing bots. Under <code>Applications -> Authorized Apps</code> you add an application, then add a user for that application. (It will say this is "irrevocable"; I'm not sure what this means, but it may mean that the user will exist forever and you can't delete it, or it may just mean that the user will always be tied to the application for as long as the application still exists. It looks like you can delete the application and start over if you want.) The "bot token" you will need for running the app is on the application properties page, under <code>app bot user -> token</code>. | ||
+ | |||
+ | What the API calls a "guild" [https://discordapp.com/developers/docs/resources/guild is the same thing] as a "server". | ||
===Official=== | ===Official=== | ||
* [https://discordapp.com/developers/docs/intro Developer Documentation] | * [https://discordapp.com/developers/docs/intro Developer Documentation] |
Revision as of 12:12, 14 February 2018
This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!
|
API / Bots
Basic setup: the Developer Documentation includes controls for managing bots. Under Applications -> Authorized Apps
you add an application, then add a user for that application. (It will say this is "irrevocable"; I'm not sure what this means, but it may mean that the user will exist forever and you can't delete it, or it may just mean that the user will always be tied to the application for as long as the application still exists. It looks like you can delete the application and start over if you want.) The "bot token" you will need for running the app is on the application properties page, under app bot user -> token
.
What the API calls a "guild" is the same thing as a "server".
Official
Logging
- LoggerBot -- or should it be DiscordBot?
- Discord Chat Explorer (recommended by mek) - apparently doesn't include edits, though
Archiving
- Discord History Tracker (script/browser extension): Discord script, just fetches past history