fjaros / wowchat

WoWChat is a clientless Discord integration chat bot for old versions of World of Warcraft.
GNU General Public License v3.0
139 stars 96 forks source link

ignore default message by server #79

Closed PentSec closed 2 years ago

PentSec commented 2 years ago

Hello there,.. again How could I ignore a default message from the server when the character connects. and contain these words like that "Vote for the server always"

i think can i add this here.

https://github.com/fjaros/wowchat/blob/7ffc62e0fd343d570549b2f375b174778c23f541/src/main/scala/wowchat/game/GamePacketHandlerWotLK.scala#L131

But maybe you can help me think a little. thanks again for replying.

fjaros commented 2 years ago

you could also leverage the filters feature in config

PentSec commented 2 years ago

I don't know how many times I've read the code. and I had not seen the option of filters xD Sorry thanks for replying again.

fjaros commented 2 years ago

for some reason you missed the obvious choice which was to literally copy the message as is.... "SYSTEM: Your voting buff ran out, please vote on the website to regain it."