Giter Club home page Giter Club logo

build-a-discord-bot's Introduction

Build a Discord Bot

This is a quick and easy template for building your own Discord bot, this project relies on Discord.js, if you want to extend this bot, I suggest you look at the official Discord API documentation and the Discord.js README.

Before building your own bot, I highly advise checking if the bot you want to build already exists, the common places to find Discord bots are:

Getting Started

Step One
You need to create a new Discord Application in the developer console.

Step One Screenshot

Step Two
You need to create a Bot User for your application. Step Two Screenshot

Step Three
You need to add your Bot User's token as a parameter to client.login(), these will be used by the code to act on behalf of your registered application's bot.

If you want to avoid unneeded complexity, untick Require OAuth2 Code Grant.

Step Three Screenshot

Step Four
Generate your bot's OAuth2 URL and it can then be invited to any channel with just a click of a link.

Step Four Screenshot

Step Five
Remix this project, look through the code in server.js and add the custom commands you wish your bot to have and VIOLA, you're now the proud owner of your own Discord bot ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

Go build something cool.

More about Discord

Discord is all-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone. Stop paying for TeamSpeak servers and hassling with Skype. Simplify your life.

More about Glitch

Glitch is the friendly community where you'll build the app of your dreams. Glitch lets you instantly create, remix, edit, and host an app, bot or site, and you can invite collaborators or helpers to simultaneously edit code with you.

Find out more about Glitch.


\( ใ‚œoใ‚œ)ใƒŽ Follow me on Twitter or GitHub.

build-a-discord-bot's People

Contributors

gregjw avatar kenthan 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.