This project has been archived since I moved away from discord and started using matrix. If you are interested in maintaining, fork the typescript rewrite branch.
A simple, open-source, user-friendly Discord giveaway bot that uses the latest features, such as slash commands, timestamps, and buttons.
It's a rewrite of my original closed-source Discord bot, Quadratic Giveaways.
Invite it to your server here.
Configure the bot to your needs. You must run /config
before /giveaway
.
Join our official Discord server.
Arguments:
❶ Channel (Required): Channel for giveaways to be created in.
❷ Extra Text (Required): Extra text to be displayed along with your giveaways.
❸ DMUsers (Required): DM users when they win a giveaway.
Create a giveaway. You must run /config
first.
Arguments
Winners (Required): The number of winners for this giveaway.
Item (Required): The item that is being given away.
Minutes (Optional): The number of minutes for the giveaway to go on for.
Hours (Optional): The number of hours for the giveaway to go on for.
Days (Optional): The number of days for the giveaway to go on for.
This project was built using handcrafted Javascript and Discord.js.
Though it is reccomended to use the main version of the bot, it is possible to self-host. Just create a config.json
file at the root of the project with a format like this.
Note: Only include devGuildId when you would like commands to be deployed only there. Omiting it will cause commands to be deployed to all servers.
- To get a client id and token register a new application here: https://discord.com/developers/applications.
- To deploy your commands use
node deployCommands.js
. pnpm
is reccomended.
If you use the bot publicly please give credit in the bots description. Thank you.
Discord server: https://discord.gg/XmF8GygG5N.
Discussions: https://github.com/QuadraticBot/QuadraticBot2.0/discussions