k8thekat / GatekeeperV2

Update to Gatekeeper
GNU General Public License v3.0
27 stars 11 forks source link

[BUG] Event channel not working #71

Closed Vodianoi closed 1 year ago

Vodianoi commented 1 year ago

Hi again,

I've set the event channel but nothing happens when I join, quit, die etc. in-game (Only tested with Minecraft for now, Fabric modded). No web-hooks have been created. Maybe a lack of permission AMP side ?

Checked the bot logs, only these exceptions are catched during bot start, don't think this is relative to this issue.

[ERROR] **ERROR** loader.py Loading Cog **cogs.banner_cog** Will retry shortly... - Extension 'cogs.banner_cog' raised an error: AttributeError: 'NoneType' object has no attribute 'add_command'

[ERROR] **ERROR** loader.py Loading Cog **cogs.whitelist_cog** Will retry shortly... - Extension 'cogs.whitelist_cog' raised an error: AttributeError: 'NoneType' object has no attribute 'add_command'

k8thekat commented 1 year ago

Hey, so after setting the event channel did you create any regex patterns to catch any events?

Here is a basic pattern to catch join/leave and some death types inside of Minecraft

r'(left the game|joined the game|tried to swim|completed the challenge|made the advancement|was slain by|fell off|was shot by)'

You would first type /bot regex_pattern add and then use the above pattern. Name it MC events

Then you would type /server regex add and select MC events

Give it a moment and the filtering should output any event that is caught by the regex to be output in that specific channel.

Try all that out first and if you still have issues; please feel free to comment on this issue.

Vodianoi commented 1 year ago

Ok did not get that regex was used for this too, this is perfect!

Sorry for useless report !

Thank you!