Skip to content

benoitlamonica/easydiscordbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !

About

An easy framework to make your own discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published