PNGTube Online


_____

PNGTube Online's Discord Bot

Hey, did you know we have a Discord bot?

1) Inviting PNGTube to Your Server

Click here to invite the bot!

PNGTube Online's Discord bot allows you to sync volume input with Discord. Basically, instead of checking the Audio Visualizer input to see if volume paths are taken, it uses the status of your Discord avatar in a voice channel-- if you're talking, Volume >= paths are taken; if not, Volume < paths are taken.

2) Commands

The PNGTube bot is simple, with only 3 commands. It is set up with Discord.js v14 slash commands, so they should auto-populate in your server with descriptions as soon as the bot is invited.

  1. /join: Tells the bot to join the Discord voice channel you're currently in and start listening
  2. /link [room] [character]: Tells the bot who and where you are on PNGTube's site. Enter the name of the room you are joined to (this is also in the URL if you forgot!) and your character's name as in the Character Selection Dropdown. These are case sensitive! Just use /link again if you make a mistake or change characters.
  3. /leave: Tells the bot to stop listening and leave the Discord voice channel

3) Connecting

Connecting the PNGTube bot to your PNGTuber has 2 parts: connecting the bot to your Discord call and enabling sync on PNGTube. The order of things is not super important as long as you click the sync button after the bot is linked.

  1. Join the voice channel in Discord you (and your friends) will be using
  2. On PNGTube, join the room you'll be using and load your PNGTuber
  3. Use the /join command to bring the PNGTube bot into the channel
  4. Use the /link command to tell the PNGTube bot which room and PNGTuber you're using
  5. In PNGTube, click Sync to Discord on the far right of the Control Bar
  6. Under the Audio Visualizer, select the volume flag you want Discord to control. By default, if you haven't messed with flags otherwise, you'll want to use the Green one.

An aside to flags, since Discord only gives on/off data, we chose to implement flags to allow people syncing to Discord some greater flexibility. Say you want a character to change to one state when talking, then another at a higher volume for yelling, you can set one flag for talking, sync this to Discord, and a second for yelling, which will still work with the bot controlling the talking flag.

4) Disconnecting

To disconnect, simply click the Unsync Discord button in PNGTube, which will have replaced Sync to Discord. If you're all done with the bot, tell it to /leave in your Discord server as well.