Skip to content

Commit 51ecef8

Browse files
committed
Updated README
1 parent a8cea60 commit 51ecef8

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed

README.rst

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,12 @@ Rewrite and async is **not** compatible.
7070

7171
After you chose the version you want to use, go to the directory in this GitHub repo with the version name.
7272
The rest of the dependencies installation tutorial will be in the README.rtf of that directory.
73-
74-
Writing a bot script with Python
75-
================================
7673

77-
See introduction.py in the other directories.
78-
79-
Run DBE examples
80-
================
81-
82-
1. Download https://github.com/GreatTaku/DiscordBotExamples/archive/master.zip and unzip
83-
2. fill in your bot token in the file you want to run
84-
3. ``python3 DiscordBotExamples/<rewrite or async>/<filename>.py`` (replace things in <>)
85-
4. For Windows (if ``python3`` not in ``PATH``): ``py -3 DiscordBotExamples/<rewrite or async>/<filename>.py``
86-
5. And... voila!
87-
74+
Continuation
75+
============
76+
77+
The rest of the introduction will continue in the README.rst of the rewrite or async directories.
78+
8879

8980

9081
:sub:`Discord Bot Examples (DBE) is not affliated in any way with the discord.py library or the development of discord.py.`

async/README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Console Prefixes
1717
Installing discord.py
1818
---------------------
1919

20-
(Replace ``<prefix>`` with the aforementioned prefix)
20+
(Replace all ``<prefix>`` with the aforementioned prefix)
2121

2222
First uninstall any previously installed version of discord.py.
2323
In Terminal, CMD, or any command-line console, type in the following:
@@ -33,6 +33,15 @@ If you're using a venv, don't forget to activate it!
3333
You're now ready to run some examples! To run any example in this repository,
3434
see the README.rst in the top-level directory for directions.
3535

36+
Run DBE examples
37+
================
38+
39+
1. Download https://github.com/GreatTaku/DiscordBotExamples/archive/master.zip and unzip
40+
2. Go to the DiscordBotExamples/async and find the example file you want to run
41+
3. Open the file, replace "TOKEN" with your bot's token
42+
4. In the console, type in: ``<prefix> DiscordBotExamples/async/<filename>.py``
43+
5. And... voila! Go to discord and see your bot in action
44+
3645
Examples Index
3746
==============
3847

rewrite/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ If you're using a venv, don't forget to activate it!
3333
You're now ready to run some examples! To run any example in this repository,
3434
see the README.rst in the top-level directory for directions.
3535

36+
Run DBE examples
37+
================
38+
39+
1. Download https://github.com/GreatTaku/DiscordBotExamples/archive/master.zip and unzip
40+
2. Go to the DiscordBotExamples/rewrite and find the example file you want to run
41+
3. Open the file, replace "TOKEN" with your bot's token
42+
4. In the console, type in: ``<prefix> DiscordBotExamples/rewrite/<filename>.py``
43+
5. And... voila! Go to discord and see your bot in action
44+
3645
Examples Index
3746
==============
3847

0 commit comments

Comments
 (0)