Skip to content

An easy to use open source giveaway bot using discord buttons and Slash commands.

License

Notifications You must be signed in to change notification settings

Natzalia/Giveaway-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giveaway-bot

An easy to use open source giveaway bot using discord buttons and Slash commands, and mongoose as database. Without using any npm libraries like discord-giveaway, this project was made from scratch

Credits

This source code is created by Natalia, and If using this code, please make sure to credit me!

Handler was created by reconlx, make sure to check out their work!

Requirements

To use this open source, you will need:

  • To install nodejs version 16 or higher
  • To create a mongodb connection
  • Basic mongoose knowledge, if you don't know how to use mongodb I recommend learning before using this source.
  • JS knowledge
  • DiscordJS knowledge

How to install

To install the bot you will need

  • To install the dependencies ms discord.js glob mongoose You can do that by passing:
npm install 

Or

npm install discord.js glob mongoose ms 
  • Create a mongodb connection
  • Change example.config.json to config.json, and fill the information
{
    "token": "Your bot token here",
    "prefix": "Your bot prefix",
    "mongooseConnectionString": "your mongodb connection url"
}
  • Start the bot
node index.js

Hosting the bot

replit is not recommended to host the bot, since it needs a database.

You can get free hosting services in our support server by joining our weekly giveaways

Public version

Try out the public version of the bot here

Steps to support me

  • You can join our support server
  • You can boost our server, or contribute by donating a Nitro giveaway
  • Star This repostory
  • Fork this repostory
  • anything done to support us is appriciated.

About

An easy to use open source giveaway bot using discord buttons and Slash commands.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published