Skip to content

TreZc0/BotW-Superbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoTW Superbot

This is a Discord Bot with several features, created for the ZSR community Discords, written in Node.JS. The twitch module is based off of Dustforce Discord Bot.

Requirements

  • Node.js v16.9.0 or newer is required
  • Twitch API Client with Secret
  • Initial Twitch OAuth2 Refresh Token
  • Discord Bot Token

Features

  • Automatic Stream announcements based on Twitch Game and Stream Tag Filters
  • Role management - users can get or remove roles via reactions
  • Persistent configuration via state file
  • Auto Moderation to ban common phishing attempts and ping spam with audit log
  • Glitch documentation through a sticky channel with context
  • In this configuration, the bot can serve a single Discord Guild

Configuration

The repository contains an example file:

  • "discord-server-id": The guild ID for the Discord server
  • "discord-role-channel-id": The channel ID of the channel used for role management
  • "discord-notifications-channel-id": THe channel ID of the channel used for stream announcements
  • "discord-logging-channel-id": THe channel ID of the channel used to log certain actions for staff
  • "discord-token": The Discord bot token
  • "discord-available-roles": String-Array of the role names to be offered by the bot
  • "discord-banned-file-ext": String-Array of banned file extensions to delete and warn the user about (enter with ".")
  • "bot-user-name": The name the bot should display in its embeds
  • "bot-avatar-url": URL of the avatar the bot should display in its embeds
  • "target-game-ids": String-Array of the Twitch Game IDs the bot should listen for (Games API Reference)
  • "target-stream-tags": String-Array of the Twitch Stream Tags the bot should listen for (Tags API Reference)
  • "target-game-name": The name of the game the bot should display in announcement embeds
  • "twitch-client-id": Client ID for the Twitch Application (Twitch Dev Dashboard)
  • "twitch-client-secret": Client Secret for the Twitch Application (Twitch Dev Dashboard)
  • "twitch-refresh-token": Initial refresh token used to refresh the api access (Twitch OAuth Documentation)
  • "twitch-access-token": Initial refresh token used to refresh the api access (Twitch OAuth Documentation)
  • "twitch-access-token-expires-At": Expiry Date of the current access token. Can be left at 0 on initial setup.

About

The Discord Bot for the BotW Speedrunning Discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published