Code Monkey home page Code Monkey logo

betterdiscordplugin-autoidleonafk's People

Contributors

bobbyl140 avatar github-actions[bot] avatar roguedbear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

betterdiscordplugin-autoidleonafk's Issues

AutoIdleOnAFK Could not be constructed

AutoIdleOnAFK: Could not be constructed.
at Object.initializeAddon (:4:306851)
at Object.loadAddon (:4:268341)
at Object.loadAddon (:4:305889)
at FSWatcher. (:4:266190)

Happened after what I assume is a new Discord/BD update. Reinstalling BD did not fix.

Suggestions - Add the option for auto DND on AFK

I would like the option for it to change to DND on AFK option. It would be handy if you wanted only messages to go through when you are active and when you are AFK for it to auto-go to DND.

[feature request] Remove AFK when online on mobile

Probably isn't possible, but i wanted to ask anyway.

In settings there is the option to "Always revert to online" but i noticed that when i open my mobile app it always shows idle.
Is it possible to fix that? So it also reverts when im online from mobile?

Thanks in advance :)

[REQUEST] Turn on DnD in VC

IDK if this is the right place, but i didn't find anything similar, and the nearest i found was this.

Would it be possible to add the option to turn on dnd automatically when joining a voice call?

Thanks in advance! :)

add unit testing

  • setup a test case suite to test that basic functionality still works when making new changes.
  • also setup automated build scripts to generate plugin in release/ and draft a new release

Plugin doesn't revert status to online automatically

So, I don'ty know if it's because one of Discord & BD's update broke something, but the plugin doesn't revert the chosen status (Idle, Invisible or DND) to online as it's supposed to do.

It does go from Online to the chosen status though.

I don't know if it's just me or if others are impacted but regardless, I'm merely pointing it out.

Question

is this plugin compatible with dnd while playing plugin? if the other plugin changes status to dnd will this one overlap it and change it to idle 5 minutes after? I want to use both but don't want it to change me from dnd to idle.

add error handling if modules to change status are not found when discord breaks something in the future

let the users know through a toast that AutoIdleOnAFK won't work if the status changing modules are not found.

this can also be shown by modifying the settings page. grey out those settings and add a visual block [broken]
toast can say plugin is broken please check the issues page or create a new one if it does not exist.

in this case, when the plugin becomes complex if one thing breaks, it won't render the entire plugin useless. you can still use it except parts of it can be broken. like check if you're in vc, in an activity etc

AutoidleOnAFK Won't Open, and gave me an error message

Not sure what to do about this, can someone please help?

TypeError: Cannot read property 'StatusSetting' of undefined at plugin (betterdiscord://plugins/AutoIdleOnAFK.plugin.js:67:49) at eval (betterdiscord://plugins/AutoIdleOnAFK.plugin.js:292:13) at eval (betterdiscord://plugins/AutoIdleOnAFK.plugin.js:293:3) at Object.requireAddon (<anonymous>:4:43438) at Object.loadAddon (<anonymous>:4:9197) at Object.loadAddon (<anonymous>:4:41165) at Object.loadAllAddons (<anonymous>:4:11607) at Object.initialize (<anonymous>:4:6257) at Object.initialize (<anonymous>:4:40368) at Object.startup (<anonymous>:4:376262)

[NOTICE] Redownload if you're facing construction/compile error

A recent discord update broke the plugin resulting in construction error.
Plugin version v0.3.1 fixed it, but for plugins that have construction error, BetterDiscord does not show an update banner. You need to redownload the plugin again.

You can download from:

  • BetterDiscord's website (after the v0.3.1 update is approved, as of now it shows the v0.3.0 version) as of 12/08/22 v0.3.1 update has been approved and is shown on BD site
  • This repo

Sliders for timeout settings appear as volume icons, can't be edited

Just installed this plugin today. Opening up the settings, I see the following:

image

Note the strange little black volume icons. Mousing over one produces this thermometer-style slider:

image

But no matter what I do, I can't actually see what the timeout is set to or adjust it to anything new.

Question - Can this be used to increase the Discord Default AFK time?

I'm wondering, Discord sets you to Idle after 10 minutes by default without any plugins, could I use this plugin to increase the time to, let's say 20 or 30 minutes? Sometimes when I watch YouTube video for example I'm not really AFK but Discord still sets me to idle after 10 minutes which is annoying.

Addon Error: Could Not Be Constructed

After downloading this plugin the attached code appears. This issue seemed to pop up within the past day or two.

AutoIdleOnAFK: Could not be constructed.
    at Object.initializeAddon (<anonymous>:4:306851)
    at Object.loadAddon (<anonymous>:4:268341)
    at Object.loadAddon (<anonymous>:4:305889)
    at FSWatcher.<anonymous> (<anonymous>:4:266190)

Plugin Not Working

The plugin no longer puts me in idle. I have it set to go idle after 5 minutes, but it does nothing. I have tried updating betterdiscord, and have updated the plugin to v0.4.0, but the issue still persists. How can I fix this?

https://imgur.com/a/EoJOAgr

most plugin setting options aren't visible anymore

The settings panel for this plugin lacks most of the settings when compared to the screenshot posted on the main github page for this plugin, or on the betterdiscord page for this plugin. I have attatched a screenshot of what I see below. When I installed this plugin, everything worked perfectly, but recently many of the settings seem to have disappeared. I have uninstalled and reinstalled it several times with no luck. Is this a common or fixable issue?
image

[FIXED] Plugin does not work / compilation error

UPDATE (28/10/22): the plugin has been fixed now, and an update has been submitted for approval. hopefully BD should automatically show the plugin update banner when it is approved, or you can download it from the repo itself
thank you for the patience!


UPDATE (1/10/22): as of now, there does not appear to be a way to access the module responsible for changing the user status. Any help in this regard would be very much appreciated


due to a recent discord update that broke most of the plugins and messed up BD as well, AutoIdleOnAFK has been affected too.

The issue mainly is the module the plugin was using cannot be found now due it being changed/replaced to something else by discord. The fix would be to find the new module (again).

I'll be working on that when i get some free time.




traceback:

TypeError: Cannot destructure property 'StatusSetting' of 'Webpack.getModule(...)' as it is undefined.
    at plugin (betterdiscord://plugins/AutoIdleOnAFK.plugin.js:70:13)
    at eval (betterdiscord://plugins/AutoIdleOnAFK.plugin.js:297:13)
    at eval (betterdiscord://plugins/AutoIdleOnAFK.plugin.js:298:3)
    at Object.requireAddon (<anonymous>:4:43438)
    at Object.loadAddon (<anonymous>:4:9197)
    at Object.loadAddon (<anonymous>:4:41165)
    at Object.loadAllAddons (<anonymous>:4:11607)
    at Object.initialize (<anonymous>:4:6257)
    at Object.initialize (<anonymous>:4:40368)
    at Object.startup (<anonymous>:4:376262)

Request (from dnd to idle)

I'm requesting the feature to go from the first afk timeout to another ex: see image
image

I hope that you understand what I'm trying to say here.
like-numbered or named sliders.

[Request] Lower AFK timeout value, starting from 1 minute

Would be nice if there was a lower minimum value for Idle timeout timer, instead of 5 minutes currently - could be from 1 minute.

Also a numerical box to set the timeout value would be easier in my opinion (and more precise), than the slider. A simple integer input, in minutes.

afk on vc

could u make it where it still works if ur in a private dm or something?

[REQUEST] AutoIdleAFK

Do you think you could add an option to auto DND while playing a game + ability to whitelist certain games? QWERT does not appear to be updating the plugin that does this or has retired it, I have ADHD and prefer DND while playing as it helps me get immersed and less distracted.

Multiple Device Support

This plugin is great, however I think it could be improved to support multiple devices. If I install on two devices, go idle on one for longer than the timeout, and become active on the other, it doesn't change to online because the idle status came from the first device. If there could be an option for "Always Un-AFK" I would be more interested.

Animated Status Feature

Like the animated status, you've worked with can you give it a feature in which the status is constantly changing from DND to Online which will give it a cool rainbow effect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.