Comments (8)
Good news! thanks to the direction you've pointed me and looking through BDFDB's code, i have found the module used to change the status, and have successfully changed it via the console
I'll be working on a fix for the plugin now!
again, thank you @Violet-Vibes, im so happy the plugin wont have to stay dead anymore
I'm happy to hear that, thank you for fixing it.
from betterdiscordplugin-autoidleonafk.
also use this opportunity to do the following:
- move away from update url being release asset, to a main branch url
- modify action to publish + build only on release
- also publish sha256 hashes via actions cuz why not
- move away from build scripts to the npm build module
from betterdiscordplugin-autoidleonafk.
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)
What about using the BDFDB lib? BDFDB.LibraryModules.SettingsUtils.StatusSetting.updateSetting
from betterdiscordplugin-autoidleonafk.
If the status module exposed via BDFDB works currently, then I'll have no problem using that in the plugin instead.
from betterdiscordplugin-autoidleonafk.
If the status module exposed via BDFDB works currently, then I'll have no problem using that in the plugin instead.
The CustomStatusPresets plugin (see https://github.com/mwittrien/BetterDiscordAddons/tree/241da8656dc90097924407c5a63fcd54c429dca5/Plugins/CustomStatusPresets) uses it and it works fine.
from betterdiscordplugin-autoidleonafk.
I'll look into that, thanks for letting me know!
from betterdiscordplugin-autoidleonafk.
Thank you for making this, sadly my JS skills are subpar or I'd give it a go myself.
The specific usage is shown here, https://github.com/mwittrien/BetterDiscordAddons/blob/241da8656dc90097924407c5a63fcd54c429dca5/Plugins/CustomStatusPresets/CustomStatusPresets.plugin.js#L393
from betterdiscordplugin-autoidleonafk.
Good news! thanks to the direction you've pointed me and looking through BDFDB's code, i have found the module used to change the status, and have successfully changed it via the console
I'll be working on a fix for the plugin now!
again, thank you @Violet-Vibes, im so happy the plugin wont have to stay dead anymore
from betterdiscordplugin-autoidleonafk.
Related Issues (20)
- [NOTICE] Redownload if you're facing construction/compile error HOT 1
- Custom status text and emote removed when state changes HOT 2
- AutoidleOnAFK Won't Open, and gave me an error message HOT 1
- most plugin setting options aren't visible anymore HOT 2
- Question HOT 1
- [Feature request] Set custom timeout value through BD plugin settings
- Sliders for timeout settings appear as volume icons, can't be edited HOT 2
- [REQUEST] AutoIdleAFK HOT 5
- afk on vc HOT 9
- Crash discord when changed from afk to online HOT 3
- Plugin Not Working HOT 10
- don't go afk when doing an activity HOT 2
- add error handling if modules to change status are not found when discord breaks something in the future
- [REQUEST] mute/deafen/disconnect from VC when AFK HOT 1
- [Request] Lower AFK timeout value, starting from 1 minute HOT 1
- [REQUEST] Turn on DnD in VC HOT 2
- [feature request] Remove AFK when online on mobile HOT 1
- Plugin doesn't revert status to online automatically HOT 2
- Question - Can this be used to increase the Discord Default AFK time? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterdiscordplugin-autoidleonafk.