Giter Site home page Giter Site logo

islabot's Introduction

Bot Discord ISLA

Alt Text

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 ♥


Commands

All command must start with !Isla or !isla or @Isla

  • info => Display the current level of the user
  • about => Display informataion about the bot
  • help / aled => Display all commands
  • top => Display top 10 most active user
  • hug => Isla hug you ♥
  • hug @someone => You hug @someone
  • gif [tag(s)] => Display a gif about the tag
  • gif [tag(s)] @someone => Send a gif to someone about the tag
  • play [url] => play the music (add the url into the queue)
  • skip => To the next music
  • stop => stop music
  • ban [id_channel] [msg] => if admin, display a old french meme
  • tg => :c
  • attaque => Isla angry

Requirements

A list of technologies used within the project:


Setup

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

(BONUS)

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

Improvement

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

islabot's People

Contributors

tohsakie avatar

Stargazers

Fontana Théo avatar

Watchers

 avatar Fontana Théo avatar

Forkers

ralsei38

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.