Every time someone who has the "Tosminion" role goes from not-streaming to streaming on discord it posts into the #im-bored-whos-streaming text channel. However, this change can happen many times throughout someone's stream because it's based on their discord presence showing 'streamer mode'. Add a file to log when a user streams and Tosmini posts about it. The file should be cleared once every 24 hours and before posting that someone is streaming Tosmini should check to see if that user's name is already listed in this secondary file. Probably just use a .JSON file?
Every time someone who has the "Tosminion" role goes from not-streaming to streaming on discord it posts into the #im-bored-whos-streaming text channel. However, this change can happen many times throughout someone's stream because it's based on their discord presence showing 'streamer mode'. Add a file to log when a user streams and Tosmini posts about it. The file should be cleared once every 24 hours and before posting that someone is streaming Tosmini should check to see if that user's name is already listed in this secondary file. Probably just use a .JSON file?