Skip to content

[Bug 馃悶]: Disconnecting doesn't prevent inactivity timer#21

Description

@Jacrispys

Bug Report Check List

  • I have searched the issues page for duplicates.
  • I have a reproducer, or other proof the bug exists.
  • I have checked the Pull Request page for solutions to my problem.
  • This is a legitimate bug report to help improve this application.
  • I have external evidence to attach to this report (photo/video/files/links).

Description

When manually disconnecting the bot through discord, or using the /dc or -dc commands the inactivity time doesn't stop.

Reproduction steps

1. Use the command /dc to disconnect the bot.
2. Wait X minutes for inactivity timer.
3. Inactivity message is still sent even though the bot is not in the channel.
...
FIX: 
Cancel the executor service if the bot is disconnected prior to the elapsed timer.

Please attach any other files/screenshots/videos below!

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions