SavageBot is the most brutally honest AI-powered Discord bot that delivers savage, witty, and hilariously brutal responses. It's designed to roast users with creative comebacks while keeping it entertaining.
Built with Next.js and powered by AI technology, this open-source project helps developers create funny discord bot.
https://savage-bot-metaschool.vercel.app/
- Brutally honest and savage short one-sentence responses
- Sleek black and white landing page with smooth animations
- Easy set-up and integration to discord
- Next.js 14 for the landing page
- OpenAI API for generating savage responses
- Discord.js for bot functionality
- Tailwind CSS for styling
- Lucide icons for UI elements
- Providing savage commentary on user activities
- Making your Discord server less boring and more entertaining
Clone the repository
git clone https://github.com/0xmetaschool/savage-bot
Navigate to the project directory
cd dicord-bot
Install dependencies
npm install
-
Go to Discord Developer Portal
-
Click "New Application" and name it
-
Go to "Bot" section
- Click "Add Bot"
- Under "Privileged Gateway Intents", enable:
- Presence Intent
- Server Members Intent
- Message Content Intent
- Reset Token and copy it (save for .env)
-
Set up OAuth2:
- Go to OAuth2 > URL Generator
- Under "Scopes" select:
bot
applications.commands
- Under "Bot Permissions" select:
- Read Messages/View Channels
- Send Messages
- Read Message History
- Copy the generated URL to invite bot to servers
Create a .env
file in the root directory:
DISCORD_TOKEN=your_discord_bot_token
OPENAI_API_KEY=your_openai_api_key
Start the Next.js development server
npm run dev
In a separate terminal, start the bot
node bot/bot.js
Open your browser and navigate to http://localhost:3000
- Add the bot to your server using the generated OAuth2 URL
- The URL format will be:
https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=199744&scope=bot+applications.commands
- Start chatting with the bot
- Prepare to be roasted
- Try not to cry
We love contributions! Here's how you can help make the project even better:
- Fork the project (gh repo fork https://github.com/0xmetaschool/savage-bot.git)
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Please open an issue in the GitHub repository for any queries or support.