First attempt to make a discord bot in Javascript for a community server in 2020.
Isla manages the level management, displays gif / meme, play musique for you and it's the most cutest bot ♥
All command must start with !Isla
or !isla
or @Isla
info
=> Display the current level of the userabout
=> Display informataion about the bothelp
/aled
=> Display all commandstop
=> Display top 10 most active userhug
=> Isla hug you ♥hug @someone
=> You hug @someonegif [tag(s)]
=> Display a gif about the taggif [tag(s)] @someone
=> Send a gif to someone about the tagplay [url]
=> play the music (add the url into the queue)skip
=> To the next musicstop
=> stop musicban [id_channel] [msg]
=> if admin, display a old french memetg
=> :cattaque
=> Isla angry
A list of technologies used within the project:
- Node.JS : Version > 12
If you want to just add Isla into your server, click on this link.
If you want your own version of isla, then :
- Create a new application here and retrieve the token
- Get the Tenor API token on this link
- On your computer :
$ git clone https://example.com
$ cd BotIsla
$ npm install
-
Create 10 different role on your Discord server (from level 0 to level 100)
-
On the
configBot.json
, replace the "level_X" value to your role ID -
Replace the value "Token_Discord" and "Token_Tenor" with your Token
Great ! Now you can type
$ npm start bot.js
If you want to host your Bot, I highly recommand you to use PM2 , it's allow you to keep your bot online !
// To install
$ npm install pm2 -g
// To launch
$ pm2 start bot.js
Improvements must be made :
- Separate commands / functions in several files
- Update Discord.js from 12 to lattest
- Add new commands
- Use slash commands
- Command in English