From 2ea6213c9a9a1fb49279b7837cd2c1c1f42ec764 Mon Sep 17 00:00:00 2001 From: Anonym-Guy <104867907+Anonym-Guy@users.noreply.github.com> Date: Thu, 23 Feb 2023 12:37:09 +0100 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b7bede2..edfa036 100644 --- a/README.md +++ b/README.md @@ -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