Skip to content

Commit

Permalink
Merge pull request #3 from Ender2K89/main
Browse files Browse the repository at this point in the history
Changed a lot.
  • Loading branch information
SahilGupta1331 committed Dec 29, 2021
2 parents d66a9eb + 9ae0b9f commit 8050920
Show file tree
Hide file tree
Showing 2 changed files with 203 additions and 163 deletions.
35 changes: 16 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
# space_Invaders
A discord bot thet lets you play Space invaders.
# SPACE INVADERS
A discord bot thet lets you play Space Invaders.

It is my first discord bot... so please give any suggestions to improve it :]

# Commands in this bot:

$hello: Just to make the bot greet you.

$help: Just for fun.

$play: To play SPACE INVADERS.

$stop: To stop playing SPACE INVADERS.

# Install instructions:
Download the latest Source code.
Then, create a Discord Bot Application at https://discord.com/developers/applications/ and paste the bot token into the client.run function at the end of main.py file.
Add the bot to your server with all text permissions using the url generated by OAuth2 URL generator in the Discord Bot Application page.
Then, Download python 3.9 and the discord.py dependency.

Finally execute the main.py and the bot will become online on your server :]
# Commands this bot has
$help - Shows you a list of all commands.
$hello - A friendly hello from the bot!
$play - Starts a SPACE INVADERS game.
$stop - Stops the current SPACE INVADERS game.

# Install instructions
Download the code.
Create a Discord Bot Application at https://discord.com/developers/applications/, Make sure to enable ALL intents on this page.
Copy the bot's token, open the main.py file with any text editor you like, scroll to the bottom and then you'll find "bot.run("TOKEN", reconnect=True)"
Replace TOKEN with the token that you just copied.
Now download Python at https://www.python.org/downloads. Make sure to add it to path when installing.
Now that we've installed Python and added it to the path. Open Command Prompt and run "pip install discord.py".
If something goes wrong make sure to contact me!

0 comments on commit 8050920

Please sign in to comment.