Git Product home page Git Product logo

easydiscordbot's Introduction

logo

version

Official Website

Create your own Discord bot with ease !

Everything is already set up ! You just have to link your discord bot and then do some logic of your own ... ๐Ÿ˜‹

Getting Started

How to use this "framework" ?

Create a bot on discord Developper Portal

Create your bot application

First of all you need to create a bot on Discord develloper portal here. Log in and click on Applications => New Applicaton

Click on your application, then Bot. When your in Bot click on Add Bot.

Add the bot to your Discord Server

Now we need to add the discord bot to your server. Don't worry it's very simple ! ๐Ÿ‘Œ Still in your discord dev interface click on OAuth2, then in OAuth2 URL Generator section check bot.

Now we're configuring the bot permissions. In Bot permissions check Send messages and Read message history. For now it will be enought for a basic bot usage.

After checked all needed permissions you should see a link in Scopes, copy this link in your favorite browser, it will add your bot in your favorite discord server. Be aware that you need to be administrator of the server ! ๐Ÿ˜„

For the records, you will find your bot token in the bot section of your app ๐Ÿ™‚

Installation in 10 sec

Ok, now Bease installation ! Of course Bease comes with a beautiful cli, first of all you need to install it globally : npm i edbcli -g. Then you need to create your bot environement ! bease new, And that's all ! Just follow the steps indicated by the cli and you're good to go !

Basic use

Step 1

You need to install dependency, so type in your bot directory yarn or npm i to be up to date

Step 2

To launch the bot type in your bot directory yarn start or npm run start, everytime you make some changes you will need to launch it again ! And now type !bot help (or any prefix you put in .env) to see it in action !

Create your own command !

To create your own command type in your bot directory bease add:command <command-name>. It will appear in ./commands/content. Then your need to do the logic yourself in the Command Handler ./modules/CommandHandler.js, you will find your own method created by the CLI ! ๐Ÿ™‚

More will comme soon ! Thanks !

easydiscordbot's People

Contributors

benoitlamonica avatar

Watchers

 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.