NobleWolf42 / Stormageddon-Bot

Stormageddon is a Discord Bot built with discord.js & uses Command Handler from discordjs.guide If you would like to help in the development of this bot, the discord is https://discord.gg/tgJtK7f.
MIT License
2 stars 1 forks source link

🐺 Stormageddon (Discord Bot)

Stormageddon is a Discord Bot built with discord.js & uses Command Handler from discordjs.guide If you would like to help in the development of this bot, the discord is https://discord.gg/tgJtK7f.

πŸ“– Table of Contents

πŸ“ Features

βœ… Requirements

  1. Discord Bot Token
  2. Node.js v22.2.0 or newer
  3. FFMPEG

πŸš€ Getting Started

git clone https://github.com/NobleWolf42/Stormageddon-bot.git
cd stormageddon-bot
npm install

βš™οΈ Configuration

Copy or Rename .env.example located in the root folder to .env and fill out the values:

⚠️ Note: Never commit or share your token or api keys publicly ⚠️

{
    "auth": {
        "token": "YOUR BOT TOKEN",
        "clientSecret": "YOUR CLIENT SECRET",
        "youtubeApiKey": "YOUR YOUTUBE API KEY",
        "soundcloudApiKey": "YOUwR SOUND CLOUD API KEY",
        "imgurApiKey" : "YOUR IMGUR API KEY",
        "d2ApiKey": "YOUR DESTINY 2 API KEY",
        "spotifyToken": "YOUR SPOTIFY TOKEN",
        "spotifySecret": "YOUR SPOTIFY SECRET"
    },
    "oauth": {
        "privateKey": "LOCATION OF PRIVATE HTTPS KEY",
        "publicKey": "LOCATION OF PUBLIC HTTPS KEY",
        "port": "PORT YOU WANT THE OAUTH SERVER TO USE"
    },
    "general": {
        "clientId": "YOUR CLIENT ID",
        "redirectUri": "YOUR REDIRECT URI:3000",
        "registerLink": "YOUR REGISTER URL"

    },
    "imgur": {
        "clientID" : "YOUR IMGUR CLIENT ID",
        "apiCall" : "IMGUR API CALL"
    },
    "music": {
        "maxPlatlistSize": NUMBER OF MAX PLAYLIST LENGTH,
        "pruning": TRUE OR FALSE TO ENABLE OR DISABLE PRUNING
    },
    "devids": ["YOUR DISCORD IDS 1", "YOUR DISCORD IDS 2", "YOUR DISCORD IDS 3"]
}

🏎️ Running the Bot

After installation and configuration you can use npm start or node storm.js to start the bot.

πŸ“ Commands

Note: The default prefix is '!'

🀝 Contributing

  1. Check the "Design Documentation.js" file before starting, it contains a rough layout of how files should look
  2. Fork the repository
  3. Clone your fork: git clone https://github.com/your-username/Stormageddon-bot.git
  4. Create your feature branch: git checkout -b my-new-feature
  5. Commit your changes: git commit -am 'Add some feature'
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request