Skip to content
Rick Groot edited this page Jan 6, 2021 · 6 revisions

What can I do?

Edit code locally

If you want to edit this locally on your own device you need to clone this code. Get started by creating a project folder and cloning the files to that folder. Use the terminal to get into your project folder and clone this repository.

$ git clone https://github.com/Rickert41/Discord-Bot.git

Change directory to the cloned folder.

$ cd Discord-Bot

Create a new file, named ".env", and paste the content of the ".env.example" into that new file. You will also be pasting your own bot token into the .env file. To do this you must create an application at the Discord development portal, navigate to "Bot" via the menu and replace "YOUR_BOT_TOKEN_HERE" in your .env file with your own token. This token is personal, so don't share it with others. If your token gets leaked it gives other people the ability to change bot permissions.

Licence

License: MIT

Clone this wiki locally