AutoIdleOnAFK
Automatically updates your discord status to 'idle' when you haven't opened your discord client for more than 5 minutes.
Plugin only works when your status is 'online' and you are not in a voice channel.
(This plugin uses rauenzi's BDPluginLibrary)
Installation
- Go to the
releases tab
and download
AutoIdleOnAFK.plugin.js
into your BetterDiscord's plugin folder - Or download from BetterDiscord
Customisation:
This is the current settings page:
Development Notes
- The plugin's source code is in the
src/AutoIdleOnAFK
folder. - The
build_scripts
folder contains scripts to generate the plugin from the source code. These scripts have been taken from rauenzi's BDPluginLibrary. You can find them and their usage instructions here
Acknowledgements / References
This is my first plugin and to achieve some of the functionality, i have taken reference from the following plugins:
- toluschr's BetterDiscord-Animated-Status - to get current user's status
- QWERTxD's DndWhilePlaying - to update user's status
- QWERxD's CallTimeCounter - to get if user is currently in a VC.
License
MIT License
Copyright (c) 2022 RoguedBear
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.