Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Disconnecting after X minutes of inactivity. #145

Open
fairnightzz opened this issue Sep 22, 2021 · 1 comment
Open

Disconnecting after X minutes of inactivity. #145

fairnightzz opened this issue Sep 22, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@fairnightzz
Copy link

Is your feature request related to a problem? Please describe.
I love the bot, but when I forget to tell it to exit, it stays on, using up bandwidth.
I would love for the bot to automatically disconnect if there is no activity for a certain period of time, in order to save data and processing. Especially if people end up inviting the bot to other servers, I don't want the bot to be in the channel alone.

Describe the solution you'd like
Maybe the problem I'm describing is already fixed since I haven't waited long enough, but an option in the .env file for a disconnect time would be great. Possibly by checking how long the queue has been empty for, and after the time in the env is exceeded, disconnect automatically.

@fairnightzz fairnightzz added the enhancement New feature or request label Sep 22, 2021
@Vretu-Dev
Copy link

Its very good idea BUMP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants