https://github.com/nss-robotics/discord-bot
https://github.com/nss-robotics/discord-bot
bot discord python
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nss-robotics/discord-bot
- Owner: NSS-Robotics
- Created: 2022-04-13T03:46:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-08T02:17:05.000Z (over 1 year ago)
- Last Synced: 2025-05-07T04:33:57.260Z (about 1 year ago)
- Topics: bot, discord, python
- Language: Python
- Size: 60.5 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Herbert The Safety Chicken - The Discord Bot
## Cloning The Repository
1. Fork or clone the repository
2. Open a command line utility and `cd` to the root directory of the repository
3. Run `pip install -r requirements.txt` to install the needed dependencies
## Running The Bot
1. Log into the Discord website and navigate to the [applications page](https://discord.com/developers/applications)
2. Click `New Application`
3. Give your application a name
4. Navigate to the `Bot` tab and click `Add Bot`. You will have to confirm by clicking `Yes, do it!`
5. Click the `Copy` button underneath token. **(Do not share this)**
6. Inside the bot directory rename the file called `.env.example` to `.env` and paste the token in the `TOKEN` variable
## Inviting The Bot To A Test Server
1. Create a Discord server where you can test your bot
2. On the [applications page](https://discord.com/developers/applications), select your application and navigate to the `OAuth2` tab.
3. Then select the `URL Generator Tab`
4. Select `bot` **and** `applications.commands` under the `scopes` section. Then tick Administrator under the Bot Permissions section
5. Click the Copy button and paste it into your browser of choice and invite it to your test server.
## Adding Your Code To The Main Project
Once you have a new command or feature working in the bot, you can add it to the main project by creating a new pull request to merge it into the master branch.