LuxGracetail / PS-Roleplaying-Bot

Pokémon Showdown's Roleplaying, AmphyRP and RustyRP Bot
Other
2 stars 6 forks source link

Make Bot less restrictive to hosts in terms of flooding #17

Closed PotatoBlaster closed 8 years ago

PotatoBlaster commented 8 years ago

[17:46:48] +Rocket Admin Lens: It’s been a few months since the incident at the testing labs, nobody likes to talk about what exactly happened there, you are Rocket trained pokemon, well, actually, you're more like the cannon fodder as if this moment. [17:46:49] +Rocket Admin Lens: As being either the most expendable of pokemon, you are the ones that will be sent to salvage whatever is left of the destroyed facility to aid in research of cloning Mewtwo. [17:46:50] +Rocket Admin Lens: Be careful though, according to readings, those things are still out there, this isn’t just an archaeological mission, this is also a seek and destroy mission. Those things still retain their original abilities, do not engage alone, you have your orders, good luck and try not to die. Rocket Admin Lens was muted by Roleplaying Bot for 7 minutes. (Automated response: flooding)

Happened basically just now, Bot mutes hosts for floods while they're describing the setting of their RP.

Psychoreality commented 8 years ago

Oh, hey, this isn't too hard to code. The host is already set in a variable, you could just call that variable on moderation commands like flooding to see if the flooder is the host. I have no idea how to code it, but the logic behind it is simple enough.

MaximeLemort commented 8 years ago

Alright, I forked the bot, and I can actually code that without problems, if Lux accepts that I do it that is.

LuxGracetail commented 8 years ago

I'd like to double check the amendment with the ROs.

LuxGracetail commented 8 years ago

Done in https://github.com/LuxGracetail/PS-Roleplaying-Bot/commit/192c75888f84d1f50ad8f112f66c2c9870262b3a