How To Use Discord Api

To learn how to use discord s api to empower your application and create awesome bots for your communities.
How to use discord api. Text a text channel. These pages are dedicated to showing you all the ways that you can use discord to make cool stuff. You ve found the discord developer documentation. Choose your endpoint url. Next go to my apps area and create a new app.
The api provides some enumerations for certain types of strings to avoid the api from being stringly typed in case the strings change in the future. Install the apipheny add on. Print server count posted successfully def setup bot. Self bot bot self token dbl token set this to your dbl token self dblpy dbl dblclient self bot self token autopost true autopost will post your guild count every 30 minutes async def on guild post. Making an app on discord opens up many possibilities for deeper integrations with your other services and platforms.
Using a bot token gained by registering a bot for more information on bots see bots vs user accounts. Making http requests with node. Using an oauth2 bearer token gained through the oauth2 api. In this tutorial i ll show you how to connect the discord api to google sheets in 7 steps. Voice a voice channel.
As a matter of fact discord js is made to use discord s api. Discord is a popular chat app much like slack. Class discord channeltype specifies the type of channel. Your application s client id. Go to discord developers url there create your account.
Your url redirect uri. Authenticating with the discord api can be done in one of two ways. The discord api version to use. Whether you re looking to create awesome bots for your community empower your applications with our api or hook us right into your game with rich presence or the gamesdk discord has something for you. Then give your app some name and set the redirect uri.