gorel / discord_dicebot

MIT License
3 stars 5 forks source link

Making non-important messages silent by default #113

Closed mozilla2012 closed 9 months ago

mozilla2012 commented 9 months ago

Find and replace, baybeeee. The most important change is to dicebot/data/types/message_context.py, where I have wrapped the send function to now include the silent parameter by default. This should reduce the amount of pings the bot gives.

I have overridden this value to False for a few cases, since sometimes the bot should ping:

The tests appear to be passing*, after a few fixes. This should be squashed into one, methinks.

*There is one test that is erroring but according to my testing it's not the fault of this PR. That test was throwing errors without these changes.