Create Bot
Go to the Discord Developer Portal, log in, and create an application.
Save Changes to save.

Bot on the left, click Reset Token, copy the generated Token.

Privileged Gateway Intents on this page, click Save Changes to save.

OAuth2 on the left, copy the Client ID on the page.
Connect to LangBot
Click to add a new bot, fill in theClient ID and Token obtained in the previous step into the configuration.

[02-02 16:48:15.263] manager.py (68) - [INFO] : Initializing platform adapter 1: discord, keep LangBot running.
Invite Bot to Server
You need to create a server first, then invite the bot to the server. Go to theOAuth2 page, select URL Generator, select bot, check the permissions as shown in the image.


Copy, paste the generated URL into your browser to open it, and invite the bot to your server.

Use Bot
Now you can use the bot normally in groups or private messages.
