Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraaq committed Feb 23, 2023
1 parent 65d2d21 commit 2ea6213
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ This bot can send random text from txt file or random image from directory and i
name_to_react = ("superbot", "bestrobot")
```

* ### Change bot command prefix (default is !)
1. Find this line in bot.py

```python
bot = commands.Bot(command_prefix='!', intents=intents, help_command=help_command)
```
2. Edit the command_prefix
```python
bot = commands.Bot(command_prefix='your_command_prefix', intents=intents, help_command=help_command)
```

* ### Change name or help of command
1. Find command in bot.py that you want to change (For example I choose !image)
```python
Expand Down

0 comments on commit 2ea6213

Please sign in to comment.