WerewolvesRevamped / Werewolves-Bot

Primary bot to run the game for WWR.
3 stars 1 forks source link

Send reporter results via a connection instead of a hardcoded stat #7

Closed McTsts closed 2 years ago

McTsts commented 3 years ago

the idea is that instead of having a weird hardcoded thing that sends things in the reporter channel the reporter channel will instead use an init command to 'subscribe' to it. In practise: $connection add dead_roles

then the bot will send info such as reporter info by running $connection send dead_roles "the information" which will effectively end up being the same but much more versatile. This would also allow other roles to 'subscribe' to this information.

Shepherdwhen commented 3 years ago

Could be added to the reaper channel then too

McTsts commented 3 years ago

Reaper sees info the bot usually doesn't have (current role)

Shepherdwhen commented 3 years ago

Reaper sees info the bot usually doesn't have (current role)

Oh reaper is current role