New Features!
- Emergency fix: (from the google sheets library) Google sheet titles cannot have colons in them.
- Updated credential formats:
- New files
src/environment/development.json
and src/environment/production.json
- More details in the setup page
- New
/help
command
- Parameter: command
- Uses the pre-existing help messages in
help-channel-messages/
and any made in extensions
- New Type
HelpMessage
to encapsulate the help messages that are displayed in the bot help channels and help messages that can be viewed via the new /help
command. All existing help message embeds converted to this type.
- Type structure:
type HelpMessage = {
nameValuePair: [name: string, value: string], // used by /help command parser
useInHelpChannel: boolean, // whether it's displayed in help channels
useInHelpCommand: boolean, // whether it's displayed by /help
message: BaseMessageOptions // The actual message
};
- Easily create help messages and choose if you want the help command, help channel or both to display them
- Optional Logging on discord servers
- If you set a channel for logging, YABOB will log:
- When someone presses a button or uses a slash command (all interactions)
- When backups happen
- When errors in interaction processing occur
- By default, doesn't log per server
- New commands:
/set_logging_channel
to set the channel you want to see YABOB logs
/stop_logging
to stop YABOB from posting logs
- Automatic Queue Clearing
- The bot can now automatically clear the queue after a bot-admin-specified amount of minutes from when it was last closed
- Use the
/set_queue_auto_clear
to set this time
- This feature is disabled by default per server
- Backups are now event based instead of timer based
- The bot will trigger a firebase backup whenever the following events happen:
- A student is added or removed from a queue
- A queue is cleared (i.e.
/clear
command)
/set_after_session_msg
, /set_logging_channel
or /set_queue_auto_clear
- Public Calendar Embed Override
- You can now set a custom calendar link the the session calendar embed!
- Use
/set_public_embed_url <new link> enable=true
to enable the override. This will trigger a backup.
- Use
/set_public_embed_url <any random string> enable=false
to fall back to the default google calendar embed
Dependencies and Packages
Updated discord.js to v14 #23 #53