Skip to content

Tullingemarcus/Discord_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot

Code style: black

A general purposes discord bot named Lester.

Reqirements

  • Node.js

Edit Prefix

  • node_modules -> discord.js-comando -> src ->client.js -> edit line 3, remove this '[CHOOSE PREFIX HERE]' and add your prefix
constructor(options = {}) {
       if(typeof options.selfbot === 'undefined') options.selfbot = false;
       if(typeof options.commandPrefix === 'undefined') options.commandPrefix = '[CHOOSE PREFIX HERE]';
       if(options.commandPrefix === null) options.commandPrefix = '';
       if(typeof options.commandEditableDuration === 'undefined') options.commandEditableDuration = 30;
       if(typeof options.nonCommandEditable === 'undefined') options.nonCommandEditable = true;
       if(typeof options.unknownCommandResponse === 'undefined') options.unknownCommandResponse = true;
       super(options);

Key Features

  • Join & Leave the channel
  • Play music on demand
  • Chech the weather status (The preset is Tullinge)
  • Text to speech
  • Start an alarm or timer
  • Check statistics in Counter-strike: Global offensive
  • Check statistics in Rainbow six siege
  • A help command if needed by the user

Commands

Core commads

  • §join
  • The bot joins your channel
  • §leave
  • The bot leaves your channel

Music

  • §play ('song name/youtube link')
    • Plays a song
  • §start
    • Starts a paused or queued song
  • §stop
    • Pauses the song being played
  • §queue ('the song you want to queue')
    • Queues a song
  • §skip
    • Skips to the next song

Weather

  • §weather
    • Checks the weather in chosen in the settings file
  • §weather city ('city') ('country code')
    • Checks the weather in a chosen city

Text to speech

  • §tts ('what you want to be read')
    • Reads what you wrote

Timer/alarm

  • §timer ('the time in seconds')
    • Goes off after the time ran out
  • §alarm ('when you want it to go off')
    • Goes off at the given time

Statistics

  • §stats csgo ('user')
    • Counter-Strike: Global offensive statistics
  • §stats r6s ('user/group')
    • Rainbow six siege statistics

Help

  • §help
    • Gives you some information and help whit the discord bot
  • §einar ('languages')
    • Helps with a certain programing languages and git

About

en discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •