Giter Site home page Giter Site logo

betterdiscordstuff's Introduction

Hi πŸ‘‹, I'm Taimoor Tariq

I am a Full-Stack Developer

πŸ“ˆ My GitHub Stats

Taimoor-Tariq's GitHub stats Taimoor-Tariq's most used languages

πŸ”— My socials

Twitter LinkedIn KoFi

✨ Languages and Frameworks I use

Next.JS Tailwind_CSS Shadcn UI Mantine_UI Deno Node.JS Express.JS Sass Pug Socket.IO Strapi JavaScript TypeScript Python HTML5 CSS3 Lua React Bootstrap

πŸ¦– Editor and Services I use

Visual_Studio_Code Vercel Cloudways Cloudflare Replit Glitch

betterdiscordstuff's People

Contributors

taimoor-tariq avatar

Stargazers

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

Watchers

 avatar  avatar

betterdiscordstuff's Issues

SendTimestamps Could not be constructed

image

SendTimestamps: Could not be constructed.
at PluginManager.initializeAddon (webpack-internal:///./src/modules/pluginmanager.js:159:14)
at PluginManager.loadAddon (webpack-internal:///./src/modules/addonmanager.js:285:24)
at PluginManager.loadAddon (webpack-internal:///./src/modules/pluginmanager.js:117:25)
at PluginManager.loadAllAddons (webpack-internal:///./src/modules/addonmanager.js:396:26)
at PluginManager.initialize (webpack-internal:///./src/modules/addonmanager.js:107:17)
at PluginManager.initialize (webpack-internal:///./src/modules/pluginmanager.js:68:26)
at Core.startup (webpack-internal:///./src/modules/core.js:86:81)

This error appears in versions 1.1.0 and 1.1.1. For me, the plugin works on version 1.0.8

[ BUG | SendTimestamps ] ...

Issue
when trying to install the plugin, i get the following error msg:
TypeError: Cannot read property 'locale' of undefined
at new SendTimestamp (betterdiscord://plugins/SendTimestamps.plugin.js:226:59)
at Object.initializeAddon (:4:41592)
at Object.loadAddon (:4:9075)
at Object.loadAddon (:4:40847)
at Object.updateList (:4:10713)
at Object.updatePluginList (:4:40544)
at O.reload (:4:108624)
at Object.Ye (https://discordapp.com/assets/33ea390649db9e20ae77.js:6132:658)
at qe (https://discordapp.com/assets/33ea390649db9e20ae77.js:6132:812)
at https://discordapp.com/assets/33ea390649db9e20ae77.js:6152:409
at Pr (https://discordapp.com/assets/33ea390649db9e20ae77.js:6152:506)
at Mr (https://discordapp.com/assets/33ea390649db9e20ae77.js:6152:920)
at https://discordapp.com/assets/33ea390649db9e20ae77.js:6158:680
at ke (https://discordapp.com/assets/33ea390649db9e20ae77.js:6240:404)
at https://discordapp.com/assets/33ea390649db9e20ae77.js:6154:395
at Br (https://discordapp.com/assets/33ea390649db9e20ae77.js:6154:425)
at rn (https://discordapp.com/assets/33ea390649db9e20ae77.js:6141:757)
at nn (https://discordapp.com/assets/33ea390649db9e20ae77.js:6141:7)
at t.unstable_runWithPriority (https://discordapp.com/assets/33ea390649db9e20ae77.js:6352:828)
at Ki (https://discordapp.com/assets/33ea390649db9e20ae77.js:6163:117)
at Ue (https://discordapp.com/assets/33ea390649db9e20ae77.js:6240:144)
at en (https://discordapp.com/assets/33ea390649db9e20ae77.js:6140:800)
at HTMLDivElement.r (https://discordapp.com/assets/8654157bdfcd1f0bc155.js:126:559)

[optional but helpful: screenshots, plugin config]
image

[ BUG | SendTimestamps ] Plugin could not be compiled (BD v1.7.0)

--> Pre note: I don't believe this is a copy of #51, lemme know if I'm wrong! <--

Issue
Whenever I try to install the SendTimestamps plugin, it fails to compile in the new Better Discord v1.7.0.

TypeError: Cannot read property 'SingleSelect' of undefined
    at Object.get Dropdown [as Dropdown] (betterdiscord://plugins/0PluginLibrary.plugin.js:554:110)
    at Object.value (betterdiscord://plugins/0PluginLibrary.plugin.js:2649:24)
    at Object.get (betterdiscord://plugins/0PluginLibrary.plugin.js:2633:26)
    at plugin (betterdiscord://plugins/SendTimestamps.plugin.js:89:72)
    at eval (betterdiscord://plugins/SendTimestamps.plugin.js:887:22)
    at eval (betterdiscord://plugins/SendTimestamps.plugin.js:888:13)
    at eval (betterdiscord://plugins/SendTimestamps.plugin.js:889:3)
    at Object.requireAddon (<anonymous>:4:43438)
    at Object.loadAddon (<anonymous>:4:9197)
    at Object.loadAddon (<anonymous>:4:41165)
    at Object.reloadAddon (<anonymous>:4:10047)
    at AsyncFunction.<anonymous> (<anonymous>:4:7387)

I have already tried using the fix in #51, but it still failed to compile correctly!


[ BUG | SendTimestamps ] ...

when installing the plugin better discord says it could not be constructed
here is the js error:
TypeError: Cannot read property 'locale' of undefined
at new SendTimestamp (betterdiscord://plugins/SendTimestamps.plugin.js:226:59)
at Object.initializeAddon (:4:41592)
at Object.loadAddon (:4:9075)
at Object.loadAddon (:4:40847)
at FSWatcher. (:4:7059)

[ BUG | SendTimestamps could not be constructed ]

This is similar to other installation issues, but the exact error text is different (as shown in the screenshot):

TypeError: Cannot read property 'locale' of undefined
    at new SendTimestamp (betterdiscord://plugins/SendTimestamps.plugin.js:226:59)
    at Object.initializeAddon (<anonymous>:4:41592)
    at Object.loadAddon (<anonymous>:4:9075)
    at Object.loadAddon (<anonymous>:4:40847)
    at FSWatcher.<anonymous> (<anonymous>:4:7059)

image

[ FEATURE | SendTimestamps ] Allow specifying format in the message send replacement

Right now, it's possible to send a timestamp by writing something like {{dec 2 2020}} or {{10:40am}} and sending the message, but it doesn't let you configure the format. To do that, you need to open the dialog.
What could be done is allowing to specify the format in a similar manner, like {{DATETIME|FORMAT}}, e.g. {{2022-04-30 8:00|R}} would say something like in 21 hours, using the R relative time format

[ FEATURE | SendTimestamps - Please remember what format I was in between Discord reboots

Feature
I really love the new {{ }} feature. The only problem is the format reverts back to the default when I reboot Discord and I prefer the "2:00 PM" format. It's fine if I set it and then don't reboot Discord, but it would be great if it remembered the format I was last in between reboots.

Thank you. This is my absolute favorite plugin. Have a great day!

[ BUG | SendTimestamps ] "F" only showing except ...

Issue
Basically, when you put a timestamp with the menu or the {{...}}, for whatever reason, it writes F on the final message, except if you don't put any modifier after it (for example : <t:xxxxxxxxx> instead of <t:xxxxxxxxx:F>)

I played a bit with the code and figured out that you have to change :
The two return this.sendFomrmatOptions[n++]
into return this.sendFomrmatOptions[opts.key]

UwU

SendTimestamps starting bt not showing

Hey, just reinstalled the plugin and I'm not getting the icon on the message bar
I found this error in the dev console:

Uncaught (in promise) TypeError: Cannot read property 'childElementCount' of null
    at SendTimestamp.addButton (VM686 SendTimestamps.plugin.js:275)
    at SendTimestamp.onStart (VM686 SendTimestamps.plugin.js:229)
    at SendTimestamp.start (0PluginLibrary.plugin.js:6466)
    at Object.startPlugin (<anonymous>:4:309140)
    at Object.startAddon (<anonymous>:4:308935)
    at Object.loadAddon (<anonymous>:4:270124)
    at Object.loadAddon (<anonymous>:4:307108)
    at Object.reloadAddon (<anonymous>:4:270675)
    at FSWatcher.<anonymous> (<anonymous>:4:267865)

elso getting this when i change server or channel

Unable to fire observer for SendTimestamps v1.1.2 TypeError: Cannot read property 'childElementCount' of null
    at SendTimestamp.addButton (VM686 SendTimestamps.plugin.js:275)
    at SendTimestamp.observer (VM686 SendTimestamps.plugin.js:352)
    at Object.onMutation (<anonymous>:4:310690)
    at MutationObserver.<anonymous> (<anonymous>:4:306272)

Thanks in advance for any help :)

[ Feature | SendTimestamps ] Localized date/time selection

The popup when selecting a date & time to send it shows US format styled date & time values instead of being localized to the system localization.
SendTimeStamps
An option in the settings to show date when selecting it as DD-MM-YYYY or basing it off system user locale would be appreciated, similar for the time to be displayed and selected in the 24h format.

[ BUG | Sendtimestamps] ...

Sending timestamps, either from the menu or directly, that isn't in the T format gets immediately replaced with the letter "F". Only happens with auto replace on.

[ BUG | (SendTimestamps) - Entering more than one text timestamp in a message doesn't work right

Issue
It doesn't work right when I enter more than one timestamp in a message.

For instance "{{ 1 pm }} to {{ 2 pm }}" sometimes reverses the order. Sometimes one gets replaced by the other. Sometimes a lot of things. I've delayed reporting this, trying to establish the pattern, but I can't figure it out.

It may be a Discord problem, because I've seen it convert the timestamps to Discord-like text and then it still makes mistakes.

[ BUG | SendTimestamps ] Plugin broken

don't know what's causing the problem but, here the error that spit out when I tried to run it.

image

I'm not a big code guy but I'm not sure what this is supposed to be.

SendTimestamps - Add button to the message edition button area

Add button to the message edition button area

Preview

Before

image

After

image

Relational Changes

If that is done, timestamp shouldn't be copied from the normal chat text area to the message edition text area

Current Exemple

Currently, when you generate a timestamp in the normal chat text area, it gets duplicated in the message edition text area
image

[ Timestamp not working | SendTimestamps ]

Issue
When sending a timestamp, after choosing what date or time I need, the timestamp converts to the letter F. Oddly this does not happen to the second timestamp in a message

Images:

image

after sending

image

[ BUG | VoiceUtilities ] - Not loading

Issue
TypeError: Cannot read property 'ChannelTypes' of undefined
at plugin (betterdiscord://plugins/VoiceUtilities.plugin.js:63:51)
at eval (betterdiscord://plugins/VoiceUtilities.plugin.js:295:22)
at eval (betterdiscord://plugins/VoiceUtilities.plugin.js:296:13)
at eval (betterdiscord://plugins/VoiceUtilities.plugin.js:297:3)
at Object.requireAddon (:4:39192)
at Object.loadAddon (:4:9163)
at Object.loadAddon (:4:36864)
at Object.loadAllAddons (:4:11637)
at Object.initialize (:4:6059)
at Object.initialize (:4:36059)
at Object.startup (:4:396505)

[ BUG | SendTimeStamps ]

Button isnt styled the same as upload button
its a small thing really but the Timestamp button stays centered while the upload button doesent.
Would love to see some type of consistency (either align timestamp also at top or even move the upload button into the center)

Only happens if you have more then 1 line in the text field

image

[ not launching/could not be compiled | sendTimeStamp] ...

plugin unable to initialise

bd 1.8.2

TypeError: Cannot read property 'SingleSelect' of undefined
at Object.get Dropdown [as Dropdown] (betterdiscord://plugins/0PluginLibrary.plugin.js:573:110)
at Object.value (betterdiscord://plugins/0PluginLibrary.plugin.js:2506:24)
at Object.get (betterdiscord://plugins/0PluginLibrary.plugin.js:2490:26)
at plugin (betterdiscord://plugins/SendTimestamps.plugin.js:89:72)
at eval (betterdiscord://plugins/SendTimestamps.plugin.js:869:22)
at eval (betterdiscord://plugins/SendTimestamps.plugin.js:870:13)
at eval (betterdiscord://plugins/SendTimestamps.plugin.js:871:3)
at Object.requireAddon (:4:39192)
at Object.loadAddon (:4:9163)
at Object.loadAddon (:4:36864)
at Object.loadAllAddons (:4:11637)
at Object.initialize (:4:6059)
at Object.initialize (:4:36059)
at Object.startup (:4:396505)Issue

SendTimestamps : crash after reopening the window

Discord crashes when reopening the timestamp selection window under certain circumstances :

  • First open the window, set an hour (4for example) then the minutes (16for example)
    image
  • remove the minutes (with backspace)
    image
  • close the window (Escape, Cancel, Enter, ...)
  • reopen the window β†’ crash

Tested with no other active plugin.

[ BUG | SendTimestamps ] Manual 'time' change entry causes format value not to update and breaks output

Manually changing the date value updates what it displays in 'Format', however doing the same for the time value only updates it the first few times and breaks on consecutive changes afterwards, even using the clock button afterwards doesn't update it.

After the time stops updating in the Format display changing the Date again will then reset the time in the Format display to 12:00 AM.

At any point after the time stops updating the value in Format clicking the 'Enter' button will output <t:NaN:f> in chat instead of a valid Unix-timestamp.

e.g. Time has been changed repeatedly and Format shows incorrect value:
SendTimeStamps

Step to reproduce:

  1. Manually type an hour value starting with a 0
  2. Format now does not update the time section anymore
  3. (Optional) Change the minute value to any different value and clicking Enter will now output the NaN timestamp
  4. (Optional) Use any way to change the Date (manual entry, arrow key to increase or decrease any value or changing from the calendar) and now the Format will display 12AM and not update its time section anymore

SendTimestamps isn't working anymore

I don't know what happened, but when I click the Settings button, I get:
image
and the clock icon has disappeared from the input box (used to be where I drew the red box):
image

I'm on v1.1.3 of the plugin.

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.