Skip to content

Commit e417362

Browse files
committed
README update :)
1 parent 34e3e2b commit e417362

File tree

1 file changed

+35
-32
lines changed

1 file changed

+35
-32
lines changed

Diff for: README.md

+35-32
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://discord.com/api/oauth2/authorize?client_id=699912361481470032&permissions=8&scope=bot"><img src="https://img.shields.io/badge/DebilBot-Add to Discord server-orange?logo=probot&logoColor=orange"></a>
1010
<br>
1111
<img src="https://img.shields.io/badge/Python-3.10x-yellow">
12-
<img src="https://img.shields.io/badge/Discord.Py-1.7.3-blue">
12+
<img src="https://img.shields.io/badge/Discord.Py-2.2.2-blue">
1313

1414
***
1515

@@ -19,9 +19,9 @@
1919
+ **Python 3.10.0**
2020

2121
#### Python modules
22-
+ discord
23-
+ discord_components
24-
+ googletrans==3.1.0a0
22+
`pip install -r requirements.txt`
23+
+ discord 2.2.2
24+
+ googletrans 3.1.0a0
2525
+ requests
2626
+ youtube_dl
2727
+ asyncio
@@ -36,42 +36,45 @@
3636

3737
### Usage
3838

39-
***Recomendation: before using, please, read the LICENSE file!***
39+
***Recomendation: before using read the LICENSE file!***
40+
41+
1. Install all dependencies (`pip install -r requirements.txt`)
42+
2. Get your bot token in [discord dev portal](https://discord.com/developers/applications)
43+
3. Set DEBIL_TOKEN environment variable, **OR** put it in `settings.token` in `config.py`
44+
4. Run main.py file
4045

41-
Open `config.py` file in root directory, and edit prefix value, token value (or make environment variable DEBIL_TOKEN with your token value),
42-
path to ffmpeg, and in dict with emojis set up values with emoji id.
4346

4447
To launch music commands, as **play**:
4548
Windows: [download ffmpeg build](https://www.gyan.dev/ffmpeg/builds/), unpack archive, `path_to_ffmpeg` value must be your path to ffmpeg.
4649
Linux: just install ffmpeg (`sudo apt install ffmpeg`, `sudo apt-get install ffmpeg`, etc), in `path_to_ffmpeg` value type `ffmpeg`
4750

48-
**For bot starting, open `main.py` file**
51+
4952

5053
---
5154

5255
### Commands List
5356

54-
Command | Description
55-
----------------------------------------|---------------------------------------------------------------------------------
56-
help | Show command list
57-
help *command name* | Show details about command
58-
play *song name* | Starts playing the song (U need to be connected in the Voice Chat)
59-
pause | Pausing the song
60-
resume | Resume song playing
61-
stop | Stopping the song
62-
leave | Disconnects the bot from voice chat
63-
clear *number of messages* | Delete messages from text chat
64-
fetch *ID of the message* | Delete one message from chat by ID
65-
kick *member mention* | Kicks member from server
66-
ban *member mention* | Bans member on server
67-
avatar *member mention* | Sends user avatar
68-
user_info *member mention* | Shows user information
69-
server_info | Shows server information
70-
encode_b64 *text* | Coverts text to base64
71-
decode_b64 *base64* | Converts Base64 to the text
72-
encode_binary *text* | Coverts text to the binary code
73-
decode_binary *binary code* | Converts binary code to the text
74-
translate *lang in ISO 639-1* *text* | Translates the text
75-
poll *question* *answer1* *answ2* | Creates a poll. Minimum 2 answers, max 10. !!!Questions and answers take IN QUOTES
76-
echo *text* | Repeats your text
77-
slots | Slot machine
57+
| Command | Description |
58+
|--------------------------------------|------------------------------------------------------------------------------------|
59+
| help | Show command list |
60+
| help *command name* | Show details about command |
61+
| play *song name* | Starts playing the song (U need to be connected in the Voice Chat) |
62+
| pause | Pausing the song |
63+
| resume | Resume song playing |
64+
| stop | Stopping the song |
65+
| leave | Disconnects the bot from voice chat |
66+
| clear *number of messages* | Delete messages from text chat |
67+
| fetch *ID of the message* | Delete one message from chat by ID |
68+
| kick *member mention* | Kicks member from server |
69+
| ban *member mention* | Bans member on server |
70+
| avatar *member mention* | Sends user avatar |
71+
| user_info *member mention* | Shows user information |
72+
| server_info | Shows server information |
73+
| encode_b64 *text* | Coverts text to base64 |
74+
| decode_b64 *base64* | Converts Base64 to the text |
75+
| encode_binary *text* | Coverts text to the binary code |
76+
| decode_binary *binary code* | Converts binary code to the text |
77+
| translate *lang in ISO 639-1* *text* | Translates the text |
78+
| poll *question* *answer1* *answ2* | Creates a poll. Minimum 2 answers, max 10. !!!Questions and answers take IN QUOTES |
79+
| echo *text* | Repeats your text |
80+
| slots | Slot machine |

0 commit comments

Comments
 (0)