Giter VIP home page Giter VIP logo

betterdiscordaddons's People

Contributors

3vorp avatar break-ben avatar panos78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

betterdiscordaddons's Issues

[debug error] m.toString is an invalid function

I keep seeing this spam of errors when BetterDiscord starts up, and I myself am trying to make sense of what the actual root issue is. Below is the chunk of error feedback in the debug logs.

[2022-11-07 16:30:22.390][CONSOLE:WARN] [BetterDiscord] [WebpackModules~getModule]
Module filter threw an exception. m => m.toString().includes('"transitionTo - Transitioning to "')
TypeError: m.toString is not a function
    at getModule.searchExports (betterdiscord://plugins/BetterChatNames.plugin.js:23:39)
    at <anonymous>:4:49624
    at Function.getModule (<anonymous>:4:50381)
    at getModule (<anonymous>:4:405689)
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:23:22)
    at Object.requireAddon (<anonymous>:4:39192)
    at Object.loadAddon (<anonymous>:4:9163)
    at Object.loadAddon (<anonymous>:4:36864)
    at Object.loadAllAddons (<anonymous>:4:11637)
    at Object.initialize (<anonymous>:4:6059)
    at Object.initialize (<anonymous>:4:36059)
    at Object.startup (<anonymous>:4:396505)
[2022-11-07 16:30:22.409][CONSOLE:WARN] [BetterDiscord] [WebpackModules~getModule]
Module filter threw an exception. m => Object.values(m).some(v => v.toString().includes(".SELECTED"))
TypeError: Cannot read property 'toString' of null
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:25:62)
    at Array.some (<anonymous>)
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:25:50)
    at <anonymous>:4:49624
    at Function.getModule (<anonymous>:4:50450)
    at getModule (<anonymous>:4:405689)
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:25:18)
    at Object.requireAddon (<anonymous>:4:39192)
    at Object.loadAddon (<anonymous>:4:9163)
    at Object.loadAddon (<anonymous>:4:36864)
    at Object.loadAllAddons (<anonymous>:4:11637)
    at Object.initialize (<anonymous>:4:6059)
    at Object.initialize (<anonymous>:4:36059)
    at Object.startup (<anonymous>:4:396505)
[2022-11-07 16:30:22.423][CONSOLE:WARN] [BetterDiscord] [WebpackModules~getModule]
Module filter threw an exception. m => Object.values(m).some(v => v.toString().includes(".toolbar"))
TypeError: Cannot read property 'toString' of null
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:26:59)
    at Array.some (<anonymous>)
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:26:47)
    at <anonymous>:4:49624
    at Function.getModule (<anonymous>:4:50450)
    at getModule (<anonymous>:4:405689)
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:26:15)
    at Object.requireAddon (<anonymous>:4:39192)
    at Object.loadAddon (<anonymous>:4:9163)
    at Object.loadAddon (<anonymous>:4:36864)
    at Object.loadAllAddons (<anonymous>:4:11637)
    at Object.initialize (<anonymous>:4:6059)
    at Object.initialize (<anonymous>:4:36059)
    at Object.startup (<anonymous>:4:396505)
[2022-11-07 16:30:22.473][CONSOLE:WARN] [BetterDiscord] [WebpackModules~getModule]
Module filter threw an exception. m => Object.values(m).some(v => v.toString().includes(".iconMention"))
TypeError: Cannot read property 'toString' of null
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:27:61)
    at Array.some (<anonymous>)
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:27:49)
    at <anonymous>:4:49624
    at Function.getModule (<anonymous>:4:50450)
    at getModule (<anonymous>:4:405689)
    at eval (betterdiscord://plugins/BetterChatNames.plugin.js:27:17)
    at Object.requireAddon (<anonymous>:4:39192)
    at Object.loadAddon (<anonymous>:4:9163)
    at Object.loadAddon (<anonymous>:4:36864)
    at Object.loadAllAddons (<anonymous>:4:11637)
    at Object.initialize (<anonymous>:4:6059)
    at Object.initialize (<anonymous>:4:36059)
    at Object.startup (<anonymous>:4:396505)

[BetterChatNames] [Bug] Accent letters are detected as dashes.

Accent letters are detected by the add-on as dashes, causing the accent letter and the letter next to it to get capitalized wrongly.
image
As you can see, it shows up as FranÇAis instead of Français.

I did not try this with other characters, so it might not just be an issues with accent letters.

Does not compile

Current BetterDiscord version without any plugins.

TypeError: Cannot read properties of undefined (reading 'type')
at eval (betterdiscord://plugins/BetterChatNames.plugin.js:30:129)
at A.requireAddon (betterdiscord/renderer.js:4:35265)
at A.loadAddon (betterdiscord/renderer.js:4:7766)
at A.loadAddon (betterdiscord/renderer.js:4:32937)
at A.reloadAddon (betterdiscord/renderer.js:4:8656)
at AsyncFunction. (betterdiscord/renderer.js:4:5792)

Accented characters are capitalized

The plugin is great! But this bug annoys me as fuck xD

Every time an accented characters (ie éèê) appear :

  • The accented character is capitalized
  • The letter after the accented is also capitalized

See example :
image
image
image

plugins always capitalizes characters with tone indicators (like é) and the character "ç", and capitalizes the next character

plugins always capitalizes characters with tone indicators (like é) and the character "ç"
image
image

in the first screenshot, the chatacter "A" after the "ç" isn't supposed to capitalized
and in the second screenshot, none of the characters were capitalized in the channel / chat name

it seems it also capitalizes the characters after tone indicators (like é) and the character "ç" are always capitalized, like if the plugin thought it was the beginning of the chat name

Thread

You could make it work for Threads as well?

BetterChatNames No longer functioning

it looks like the Discord update has broken this plugin. I've updated the ZeresPluginLibrary to the new working 2.0.19 but it seems like some form of element change has broken the BetterChatNames plugin
image
image

Does Not Work

Screenshot 2023-03-25 183415
It doesn't matter whether the theme is on or off, it doesn't work

plugin could not be compiled

TypeError: Cannot read property 'transitionTo' of undefined
at eval (betterdiscord://plugins/BetterChatNames.plugin.js:24:55)
at Object.requireAddon (:4:43438)
at Object.loadAddon (:4:9197)
at Object.loadAddon (:4:41165)
at AsyncFunction. (:4:7353)

what does this mean?

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.