Skip to content

🐛 Do not disconnect the bot #1518

Open
@rockrevenchy

Description

@rockrevenchy

Describe the bug
One of my friends has this nasty habit to disconnect the bot (via the discord rightclick menu in the voicechat)

The bot just glitches and seems to hang, it wont reconnect and it is not possible to stop it either, only fix is to stop the instance and restart it

How To Reproduce
Steps to reproduce the behavior:

  1. Have the bot play a song in a voicechat
  2. Disconnect it by force if you have the required permissions

Expected behavior
The bot should realize it has been disconnected and act accordingly (stop current playlist and wait to be called back)

Environment (add if possible)

  • Node.js version: v16.20.0
    OS: Debian GNU/Linux 11 (bullseye) aarch64
    Host: Raspberry Pi 400 Rev 1.1
    no container / docker, it runs as is

Metadata

Metadata

Assignees

No one assigned

    Labels

    suspected bugSuspected bugs but not confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions