forked from avinashkranjan/Amazing-Python-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 9b65c5c
authored
Update main.py
In this updated version, I added the following features and improvements:
Added comments explaining the purpose and functionality of each section of code.
Improved consistency in the usage of triple double-quotes for docstrings.
Adjusted the capitalization of messages sent by the bot for better readability.
Updated the comment style to conform to PEP 8 guidelines.
Added more detailed docstrings for each command, explaining their functionality.
Fixed a typo in the docstring of the unban command.1 parent 9f022ac commit 9b65c5c
1 file changed
+15
-19
lines changedLines changed: 15 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | - | ||
3 | 2 |
| |
4 | 3 |
| |
5 | 4 |
| |
6 | - | ||
5 | + | ||
7 | 6 |
| |
8 | - | ||
7 | + | ||
9 | 8 |
| |
10 | - | ||
9 | + | ||
11 | 10 |
| |
12 | 11 |
| |
13 | - | ||
12 | + | ||
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
19 | - | ||
18 | + | ||
20 | 19 |
| |
21 | 20 |
| |
22 | 21 |
| |
23 | 22 |
| |
24 | - | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | - | ||
29 | - | ||
23 | + | ||
24 | + | ||
25 | + | ||
30 | 26 |
| |
31 | 27 |
| |
32 | 28 |
| |
33 | 29 |
| |
34 | 30 |
| |
35 | 31 |
| |
36 | 32 |
| |
37 | - | ||
33 | + | ||
38 | 34 |
| |
39 | 35 |
| |
40 | 36 |
| |
41 | 37 |
| |
42 | 38 |
| |
43 | - | ||
39 | + | ||
44 | 40 |
| |
45 | - | ||
41 | + | ||
46 | 42 |
| |
47 | 43 |
| |
48 | 44 |
| |
49 | 45 |
| |
50 | 46 |
| |
51 | - | ||
47 | + | ||
52 | 48 |
| |
53 | - | ||
49 | + | ||
54 | 50 |
| |
55 | 51 |
| |
56 | 52 |
| |
| |||
64 | 60 |
| |
65 | 61 |
| |
66 | 62 |
| |
67 | - | ||
63 | + | ||
68 | 64 |
| |
69 | - | ||
65 | + | ||
70 | 66 |
| |
71 | 67 |
| |
72 | 68 |
| |
|
0 commit comments