Giter Site home page Giter Site logo

Comments (8)

Violet-Vibes avatar Violet-Vibes commented on July 28, 2024 1

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.

RoguedBear avatar RoguedBear commented on July 28, 2024

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.

Violet-Vibes avatar Violet-Vibes commented on July 28, 2024

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.

RoguedBear avatar RoguedBear commented on July 28, 2024

If the status module exposed via BDFDB works currently, then I'll have no problem using that in the plugin instead.

from betterdiscordplugin-autoidleonafk.

Violet-Vibes avatar Violet-Vibes commented on July 28, 2024

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.

RoguedBear avatar RoguedBear commented on July 28, 2024

I'll look into that, thanks for letting me know!

from betterdiscordplugin-autoidleonafk.

Violet-Vibes avatar Violet-Vibes commented on July 28, 2024

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.

RoguedBear avatar RoguedBear commented on July 28, 2024

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)

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.