Coder Social home page Coder Social logo

discord-giveaway-bot's Introduction

Simple discord giveaway bot

GitHub followers GitHub Repo stars GitHub forks

Hi! This is a repository for a simple discord giveaway bot, this discord bot is made with discord.js and an npm package called discord-giveaways. If you would like to know how to install and setup this discord bot head to "How to install?"

Preview of discord bot

PreviewThis is what will show when the bot has been setup successfully.

Features

  • Create your own custom giveaways!
  • Custom time!
  • Custom prize!
  • Custom role mention!
  • Multiple winners!
  • Not manipulable!

How to install?

Using git clone:

Step 1: You have to install NodeJS and Git.

Step 2: Create a folder (preferably on your desktop).

Step 3: Open Command Prompt. Step 4: Type in: cd path/to/your/discordbot/folder. (Example: C:\Users\Ghaku\Desktop\discord-giveaway-bot)

Step 5: Press enter.

Step 6: After that type in: git clone https://github.com/ghaku/discord-giveaway-bot.git

Step 7: Press enter.

Ending Point: When you see all of the github files in your folder this means that you installed the bot succesfully.

Alternative downloading methods:

Alternative 1: Downloading the repository as a zip file. Which can be done here.

Usage + Setup

Step 1: Open config.json and change the following values:

Value What does this value mean?
"token": "YOUR_TOKEN_HERE" This is what discord will use to log into your bot.
"prefix": "YOUR_PREFIX_HERE" This is what your bot will respond to.
Optional Values What does this value mean?
"giveawayRoleID": "", This is what the bot will mention when the giveaway starts. Default = @everyone. has to be an ID
"showMention": true, This determines if the mention will be shown or not
"giveawayMention": true, This determines if there will be a role mentioned
"giveawayManagerID": "", This options lets the bot know who is able to start giveaways. Default = MANAGE_MESSAGES permission

Step 2: Run setup.bat.

Step 3: Run start.bat And you are done! You have successfully made your discord bot run. If you are having any troubles refer to the GIF below or open an issue.

Example

The token in this GIF is outdated.

Contributing to the repository

  1. Fork the repository!
  2. Clone your fork: git clone https://github.com/your-username/discord-giveaway-bot.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request! β‚α’β€’ο»Œβ€’α’β‚Ž*ο½₯゚q

Authors

Authored and maintained by @JacProsser & @ghaku.

discord-giveaway-bot's People

Contributors

arktn avatar jacprosser avatar oofchair avatar tanya575 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.