CorentinTh / robert

Simple discord bot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Robert

Node.js CI

Robert is a discord bot made using the discot framework.

New features !

  • Type !cnfact for a random Chuck Norris fact
  • Type !weather {city} for weather informations about the given city

Available commands

  • !weather {city} for weather informations about the given city
  • !cnfact for a random Chuck Norris fact
  • !ping to get a "pong" answer
  • !play {url} to play a youtube audio in the current channel
  • !stop to stop the bot from playing audio
  • !mock {text} to mock a sentence like the famous spongebob meme

Installation

Follow these steps to run the bot locally :

git clone https://github.com/CorentinTh/robert.git

cd robert

npm install

npm run build && npm start # compile typescript and run node

Note that you need some API Keys :

Used technologies

The bot actually uses the following packages :

  • ffmpeg-static: 3.0.0
  • fluent-ffmpeg: 2.1.14
  • node: 13.7.0
  • typescript: 3.7.5
  • axios: 0.20.0
  • discot: 1.3.1
  • fluent-ffmpeg: 2.1.2
  • node-opus: 0.3.3
  • ytdl-core: 1.0.7
  • eslint": 7.9.0

Linter

To verify your code, use :

npm run lint

About

Simple discord bot.

License:MIT License


Languages

Language:TypeScript 96.1%Language:JavaScript 3.9%