Skip to content

Commit 177120d

Browse files
authored
docs: Updated README.md
1 parent 3b8a2e3 commit 177120d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ the `@app_commands.guilds()` decorator so that it gets registered instantly. Exa
4747
name="command",
4848
description="Command description",
4949
)
50-
@app_commands.guilds(GUILD_ID) # Place your guild ID here
50+
@app_commands.guilds(discord.Object(id=GUILD_ID)) # Place your guild ID here
5151
```
5252

5353
When using the template you confirm that you have read the [license](LICENSE.md) and comprehend that I can take down
@@ -98,21 +98,16 @@ Windows)
9898
Before running the bot you will need to install all the requirements with this command:
9999

100100
```
101-
pip install -r requirements.txt
101+
python -m pip install -r requirements.txt
102102
```
103103

104-
If you have multiple versions of python installed (2.x and 3.x) then you will need to use the following command:
104+
After that you can start it with
105105

106106
```
107-
python3 bot.py
107+
python bot.py
108108
```
109109

110-
or eventually
111-
112-
```
113-
python3.x bot.py
114-
```
115-
Replace `x` with the version of Python you have installed.
110+
> Note: You may need to replace `python` with `py`, `python3`, `python3.11`, etc. depending on what Python versions you have installed on the machine.
116111
117112
<br>
118113

0 commit comments

Comments
 (0)