/Yuuki-bot

Simple bot for playing music or manage role

Primary LanguageJavaScriptMIT LicenseMIT

Yuuki - Discord Bot

Simple bot discord created with node.js,discord.js,ytdl,mongoDB i named it because i ❤️ Yuuki Asuna from Sword art online

Table of content

General Info

This is my simple project discord bot, this bot can play music and manage role

Link

You can add Yuuki to your server with This Link

Command

Music Player

$play Music title or you can add the singer ~ To play music

$play anima reona

$skip ~ To skip the music

$skip

$stop ~ To stop the music

$stop

$leave ~ Leave bot from voice channel

$leave

Manage Roles

$create-role ${role-name}-${role-color} ~ To create role with color ( MANAGE ROLE permission required)

$create-role Admin-red

$delete-role ${role-name} ~ To delete role ( MANAGE ROLE permission required)

$delete-role Admin

$list-role ~ Check all init roles

$list-role

Initiliaze

$init-emote ~ Start collect the emote ( MANAGE ROLE permission required) * After bot send message init all roles you need you have 30 sec to collect *

$init-list ${Message id} ~ To init the list role message ( MANAGE ROLE permission required)

$init-list 123456789101112913

$kick ${@username} ~ To kick member from channel ( MANAGE ROLE permission required)

$kick @John

Technologies

  • discord.js version : 12.3.1
  • node.js version : 10.19.0
  • ytdl-core version : 4.0.6
  • dotenv version : 8.2.0
  • ffmpeg : See doc to install.

Setup

first time make sure you already installed !

Already install it ? all let's to clone the repo and install all package ! open your terminal or cmd with git installed there and follow instruction below ps : Don't type "$" in your terminal you can ignore it

$ git clone https://github.com/Zuans/zuans-book.git 

after complete the clone the repo make file with name .env file and add follow variable at this file there 4 variable you must fill

  • DISCORD_BOT_TOKEN=${Your Discord bot token} ~ Make your own discord in and get discord bot token in Discord developer
  • API_KEY=${Your Google API key} ~ For more information about Google API check Google API
  • DB_URL=${Your DB url} ~ I Make database with mongoDB atlas check mongoDB Atlas for more infomation

after that type this command

$ npm install
$ npm run dev
You have something you want to ask you can contact me

Thanks for reading and please star my repo