Skip to content

Version 0.10.0

Compare
Choose a tag to compare
@sedders123 sedders123 released this 13 Sep 21:48
· 711 commits to develop since this release
d5276c2

Added

  • Concurrent commands and jobs. Command and jobs now run concurrently by default. You can modify the maximum number of concurrent events using the maxThreads property on the config object, by default its value is 4. To opt out of this feature you can set the value of the config key to 1 and the old synchronous behaviour will remain.
  • Hot reload functionality. If phial detects a file has changed it will reload the file and restart the bot. Enable this using the hotReload key in the phial config (Valid values True and False. Defaults to False)
  • Type hint validation. If you use inline type hints to specify the type of a command's parameter phial will now validate the user's input and convert it to the specified type. for use in your command function.

Changed

  • Scheduled jobs now will reschedule if the job's function errors.

Removed

  • Python 3.5 support