GetWreckedBot is a Discord bot designed for use on my discord server. It provides several useful features through slash commands, including retrieving information about users and servers, displaying server rules, and monitoring Twitch streams.
To use GetWreckedBot, you'll need to do the following:
- Clone this repository to your local machine.
- Install the necessary dependencies by running npm install.
- Create a new application and bot account in the Discord Developer Portal.
- Add the bot to your server by using the
https://discord.com/oauth2/authorize?client_id=<CLIENT_ID>&scope=bot&permissions=2147483647
URL (replace <CLIENT_ID> with your bot's client ID). - Create a
.env
file in the project root and add the following variables:
DISCORD_TOKEN=<your Discord bot token>
TWITCH_CLIENT_ID=<your Twitch client ID>
TWITCH_CLIENT_SECRET=<your Twitch client secret>
- Run the bot using
npm start
.
GetWreckedBot responds to several slash commands:
- /info user: Retrieves information about the selected user.
- /info server: Retrieves information about the current server.
- /rules: Displays the server rules and allows users to react to agree to them. In addition to these commands, the bot also uses webhooks to provide server logs and Twitch stream notifications.
Contributions to GetWreckedBot are welcome! If you find a bug or have a feature request, please create an issue on this repository. If you'd like to contribute code, please create a pull request with your changes.
This project is licensed under the MIT License.