Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
/ discord-bot Public archive

A Discord Bot that is capable of interacting with the Triton Media Platform

License

Notifications You must be signed in to change notification settings

tritonmedia/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card codebeat badge

discord-bot

What is this?

A fully-functional Discord Bot that is capable of interacting with the Triton Media Platform to invoke, and track media jobs

Installation / Hacking

Discord Development Portal

  1. Create a sandbox Discord server or use a test text channel within an existing server. Change the Discord Server Notification scheme to be only @mentions or this will spam people with notifications.

  2. Go to the Discord dev portal and create a new application (e.g. TritonBot)

  3. Copy your ClientID

  4. Go to the Discord Permissions Calculator and give your bot Read Messages, Send Messages, and Manage Messages permissions at a bare minimum (permissions can be managed later after the bot is set up).

  5. Use the ClientID from Step #2 to generate a permissions deeplink URL and navigate to it.

  6. Auth into Discord, and you should be provided with a modal popup asking you which servers you'd like to invite the bot to.

  7. The DiscordBot should exist within your server as an offline entity

Local Development environment

  1. Install it (setup a GOPATH)
git clone [email protected]:tritonmedia/discord-bot discord-bot; cd "discord-bot"
  1. Copy your Token from the Discord Developer Portal and configure your config.yaml file in ./config (see ./config/config.example.yaml)

  2. Run it

# in the discord-bot directory
make && ./bin/discord-bot
  1. Go to Discord, and you should be able to communicate with the bot by invoking !triton.

  2. Killing (Ctrl+C) the application will cause the bot to go offline in Discord

About

A Discord Bot that is capable of interacting with the Triton Media Platform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published