-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
If a music bot gets kicked the next poke makes it panic and as a result the master bot disconnects.
This should be the offending line since the master bot is still keeping track of the kicked bot:
https://github.com/Mavulp/pokebot/blob/3575ac579cdcc5a9fa3ffec84952a634d1d7deaf/src/bot/master.rs#L128
To Reproduce
Steps to reproduce the behavior:
- Kick a music bot
- Poke the master bot from the same channel the music bot was kicked from
Expected behavior
When kicked the bot should be removed from the list of connected bots but as with #26 this should not take down the master bot either way.
Additional context
Jul 06 17:37:32 jokler-arch pokebot[1987662]: INFO tokio-runtime-worker-0[139641523173120] src/bot/master.rs:208 - Poked by 28991, creating bot for their channel
Jul 06 17:37:32 jokler-arch pokebot[1987662]: Jul 06 17:37:32.105 WARN Max resend timeout exceeded, dur: PT10.042998802S, p_id: 0
Jul 06 17:37:32 jokler-arch pokebot[1987662]: Jul 06 17:37:32.105 INFO Changed state, new: Stalling, old: Normal
Jul 06 17:37:32 jokler-arch pokebot[1987662]: Jul 06 17:37:32.106 INFO Changed state, new: Normal, old: Stalling
Jul 06 17:37:48 jokler-arch pokebot[1987662]: INFO tokio-runtime-worker-0[139641523173120] src/bot/master.rs:208 - Poked by 28991, creating bot for their channel
Jul 06 17:37:48 jokler-arch pokebot[1987662]: thread 'tokio-runtime-worker-0' panicked at 'can find myself', src/teamspeak/mod.rs:157:9
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working