Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

jontze/Cadency

Repository files navigation

Discord Bot

code style: prettier Linting GitHub last commit (branch) GitHub license Maintainability Rating Reliability Rating Security Rating

Requirements

Installation

  • With Docker:
    • Build the image and run the container with the BOT_TOKEN as environment variable docker run -d --env-file=.env <image-name>
  • Without Docker:
    • Install node_modules: npm i --save
    • Build: npm run build
    • Create an .env file based on the .env.example with an valid BOT_TOKEN
    • Execute the index.js in dist-Folder: node dist/index.js
  • The default prefix is /. If you want another prefix, you can change it:
new Bot(<BOT_TOKEN>, {
  prefix: '!',
  activity: 'some music',
  activityType: 'PLAYING', // PLAYING | STREAMING | LISTENING | WATCHING | CUSTOM_STATUS | COMPETING
  status: 'online' // online | idle | dnd | invisible | undefined
}).start()

Features

  • Play music from YouTube by URL
    • start adding music to the queue with <prefix>play <youtube-video-url>
    • skip / stop / pause / resume the songs in the queue
    • show or purge the songs on the queue
  • Some more stuff, just ask the bot with <prefix>help

Contributing

You want to add an command? Just create a new file in the commands directory, look at the other commands for the basic layout, write your code and don't forgett to import your new file in the index.ts of the commands directory.

About

A discord music bot written with discord.js and TypeScript

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5

Languages