-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# template-discord-bot | ||
An example of building your first discord bot with Python | ||
## Modules required: | ||
"discord" | ||
`pip install discord` | ||
# How to create bot in discord ? | ||
You need to build an application in Discord | ||
|
||
From this link you can create an application: | ||
[Discord application](https://discord.com/developers/applications) | ||
|
||
Then go to the Bot section in the left panel and click on the blue add bot button, you can leave a profile picture for your bot. | ||
|
||
Below the bot is a token name, copy it and paste it in the Python file in the class CONFIG | ||
|
||
Scroll down and enable the **administrator** option in the bot permission section. | ||
|
||
In the left panel, go to the OAuth2 section and scroll down. In the OAuth2 URL Generator section, select the bot option. Scroll down and activate the **administrator** option. | ||
|
||
A link is created for you that you can use to invite your bot to the server you want. | ||
|
||
# INFO | ||
### Commands | ||
```▪ info | ||
▪ 8ball | ||
▪ ping | ||
▪ kick | ||
▪ ban | ||
▪ clear | ||
``` | ||
|
||
#### Version: 1.3 |