Move blacklist to Annotation
Closed this issue · 4 comments
dashwav commented
Currently I have the bot only post in non-blacklisted channels with a code snippet at the beginning of the command. https://github.com/dashwav/yin-bot/blob/master/cogs/rng.py#L45
This should be abstracted to an annotation ideally
dashwav commented
@nickalaskreynolds Did you end up doing this somewhere or am I misremembering?
nickalaskreynolds commented
In the latest PR I removed the need to make a decorator and just did it in the yinbot.py file in the on_message
event. It should be under the 89ada15 commit.
dashwav commented
Oh, is that one guaranteed to run first? Because I know we use on_message a few times throughout the code