Skip to content

Toggle-able Error logging

Compare
Choose a tag to compare
@JamesMatchett JamesMatchett released this 23 Apr 14:30
· 24 commits to master since this release
57ad8af

In this release I've added the config option of being able to choose whether specific error messages are logged to the Discord channel or not. The reason I've made it a toggle is that in some cases there would not be any issue of having sensitive info like keys logged to a channel, i.e. if it is a very small server with trusted persons and where messages could be deleted quickly.

However erring on the side of safety, by default, generic error messages will be logged to the Discord channel with the specific error still being output to the console on the machine the bot is running on.