Skip to content

Version 1 Beta 3

Pre-release
Pre-release

Choose a tag to compare

@quantumbagel quantumbagel released this 20 Dec 16:03

I've been working on v1 beta 3 - here it is yayy

New features

  • Better logging
  • Configuration file
  • Reorganization of some files
  • Configuration validator
  • MongoDB connection validator
  • Colored log (finally back lol)
  • Embeds for ALL messages the bot sends
  • Better on_guild_join event
  • Changed the on_guild_leave to on_guild_remove (I guess that was the wrong event (╯°□°)╯︵ ┻━┻)
  • Added max length argument for text (discord limits at 6000 chars but I think that's too long lol)
  • Added an optional description argument for both triggers and dos.
  • Added a message command - run triggered/sync <this | guild id> and commands will be synced. I'm not adding this to the README because, in all reality, nobody else will clone this project.
  • Fixed a bug where DM commands were accessible, causing a bunch of errors to console. They now return an embed explaining the error.

New configuration file (configuration/config.json) now has the following:

  • bot_secret: The bot key
  • max_dos_per_trigger: The maximum amount of dos (output actions) that can be assigned to a single trigger.
  • argument_length_limit: The length limit of the text arguments in commands, the description, and IDs of both triggers and dos.
  • allowed_do_execution: The amount of time (seconds) that a Do or Trigger's function can run for at max. This hasn't been implemented yet - but it's slated for v1.0-beta4.
  • owner_id: The discord ID of the owner of the bot (for the new message command)
  • mongodb_uri: The MongoDB connection URI (see here for an explanation)

GLHF!