Giter Club home page Giter Club logo

top.gg-vote-counter's Introduction

Top.gg-vote-counter

Top.gg vote counter AKA DBL

Developer

_ashish (175010396384657408)

Step 1: Create a Github Account

Visit https://github.com/join and create a Github Account.

Step 1.5: Star the repository

Visit here and click the star button

Step 1.7: Enable Developer Mode

In The Discord application go to Settings > Appearance > Turn on Developer Mode.

Step 1.9: Creating a bot account

Don't worry, it's super simple.

Creating the application

To create the application, head to https://discord.com/developers/applications/. Log in, and you'll reach a page that may look like this:

Click on Create an application. This brings you to the following page, in which you should simply enter a name for the application. After clicking Create, you can also add an avatar. Click Save Changes afterwards.

Creating the bot account

After creating the application, we need to create the Bot User. Go to the Bot section on the left, then click on Add Bot, then Yes, Do it.

There's a few things you can change here.

  • Username: Change your bot's username on Discord
  • Icon: Change the bot's avatar
  • Public bot: Toggles the ability for other users to add your bot to their server.
  • Require Oauth2 Code Grant: Don't check this. Just, don't.

Getting the token

Go back to the Bot page and copy the token. Save it somewhere, you will need that later.

Adding to your server

To generate the invite link, click on Oauth2 in the app page, and scroll down to Scopes. Check the Bot scope to generate a link. You can also add additional permissions for the bot.

Copy the link and open it, select your server and click on Authorize. Cheers, it has been added to your server.

Step 2: Hosting the bot

The bot will be hosted on Glitch.com , so you need to create a Glitch.com account first: https://glitch.com/login.

Step 2.1: Import code

Click on New Project > Import from GitHub > Copy this url https://github.com/AshishBytes/Top.gg-vote-counter Then past on it > Press ok

Step 2.2: Installation

  1. Add your Discord BOT TOKEN to the .env file in the ' BOT_TOKEN=bottokenhere '

  2. Add your DBL API key to the .env file in the ' TOPGG_TOKEN=top.ggtokenhere '

  3. Add your Authorization password to the .env file as ' TOPGG_AUTH=passwrodhere '

  4. Add your Discord Channel Id to the .env file as ' CHANNEL_ID=channelidhere '

  5. Add your TOP.GG Vote Link to the .env file as ' VOTE_LINK=votelinkhere '

  6. Add your EMBED COLOR to the .env file as ' EMBED_COLOR=embedcolorhere '

  7. Add your BANNER LINK to the .env file as ' BANNER_LINK=bannerlinkhere '

  8. Go to "https://top.gg/bot/YourBotID/edit" scroll down to "Webhook" the put the URL to "http://yourprojectname.glitch.me/dblwebhook" and set the "Authorization" to what you put in the .env file!

  9. After all of that.. press "Save" on top.gg and then press "Test" and it should work!

top.gg-vote-counter's People

Contributors

ashishbytes avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

top.gg-vote-counter's Issues

report here

Attach files by dragging & dropping, selecting or pasting them.

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.