Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.
/ SoCreamyBot Public archive

An ordinary Discord bot made using Discord.js

License

Notifications You must be signed in to change notification settings

baturalpk/SoCreamyBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoCreamyBot

An ordinary Discord bot built for fun with Discord.js

Custom Setup

  1. Git-clone or download the repository.

  2. Execute the following command in the project directory to install npm dependencies:

$ npm i
  1. Configure your own API Tokens by creating ".env" file in the project directory or passing your credentials into the app directly. You can use official Discord documentation to learn how to set up your bot.
  • Additionally, you would want to obtain an authorization credential for YouTube Data API v3. Otherwise, the bot's music funcionality might encounter problems because of the Google's request limit on YouTube.
  1. Apply your own commands and status if you desire. Look at the comment lines in the app.js file for more information.

  2. Raise the server up by executing following command at your project dir:

$ node app.js
  1. Finally, you can host the app on cloud hosting services such as Heroku, Glitch or AWS after some tests and minor tweaks on your local environment.
    • NOTE: Ffmpeg setup was a bit problematic for Heroku, but this buildpack will overcome the issue.

Basic Commands

  • Default Prefix: ##
  1. Hey 👋: Prefix + hey
  2. Simple Math 🧮: Prefix + calc + number1 + MathOperatorName(add/sub/mul/div) + number2
  3. Music Player 🎧: Prefix + play + SearchKeyword/YouTube_URL
  4. Clear Chat Messages 🧹: Prefix + clear + NumberOfChatMessages