You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,34 +12,33 @@ This Discord bot is developed with Python 3.11. Use the same Python version to e
12
12
13
13
2. Rename `.env.example` to `.env` and put your Discord token inside.
14
14
15
-
3. Create a virtual python environment and install dependencies from `requirements.txt`.
15
+
3. Create a virtual python environment, activate it, then install dependencies with `pip install -e .`.
16
16
17
-
4. Run `python main.py` in your console to start up the bot.
17
+
4. Run `python -m my_discord_bot` in your console to start up the bot.
18
18
19
19
5. To use the music player, you need to run a [Lavalink](https://github.com/freyacodes/Lavalink) instance alongside the bot. Set `LAVALINK_URL` and `LAVALINK_PASSWORD` in `.env`.
20
20
21
21
Example config file (`application.yml`) for Lavalink:
0 commit comments