taimoor-tariq / betterdiscordstuff Goto Github PK
View Code? Open in Web Editor NEWMy BetterDiscord Plugins and Themes
Home Page: https://ko-fi.com/TaimoorTariq
License: GNU General Public License v2.0
My BetterDiscord Plugins and Themes
Home Page: https://ko-fi.com/TaimoorTariq
License: GNU General Public License v2.0
Issue
Relative time prints <t:seconds:r>
but this should be <t:seconds:R>
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
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)
Saying "{{ 1 pm}} to {{ 2 pm }}" doesn't work right. I think it converts the first timestamp, but not the second.
This is the same as Issue #37, but you closed that one. I've tried commenting there, hoping to get it reopened. I'm doing this to reopen it. Apologies if this is not the correct process.
I noticed that the button was no longer showing today. I tried to open the settings and that would not work as well.
I fully uninstalled and reinstalled discord and BD.
Disabled all other plugs except for timestamps as well
--> 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!
In a file, "format" is written "fomrmat"
I will enhance this description later
Feature
hi could you implement a remaning time format so with <t:XXXXXXXX:R>
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)
Issue
When I type "{{ 2 pm}}" I get a message "Error formating this timestamp".
Also, the word should be "formatting" with two "t"s. No big deal there, just trying to help.
Should be fixed in the latest update. π
Originally posted by @Taimoor-Tariq in #8 (comment)
Still having this(message box formatting) issue today in at least 1 server.
https://i.imgur.com/qR2G9Tr.png
how do i fix this?
Don't know where to tell you this, so I'll leave this here.
https://betterdiscord.app/plugin/SendTimestamps
The above betterdiscord plugin repo doesn't have your latest version of SendTimestamps. I had to install it from here instead.
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)
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
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!
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
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 :)
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.
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.
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.
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.
After trial and error, I cannot open the settings for this plugin and I believe that this was caused by the latest discord update but I am not sure.
Issue
No matter what type of timestamp I send, as soon as I send it it will be turned into "F" for everyone
If that is done, timestamp shouldn't be copied from the normal chat text area to the message edition text area
Currently, when you generate a timestamp in the normal chat text area, it gets duplicated in the message edition text area
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)
Feature
Usually I just want a time on the hour. Please let me enter {{ 2 pm }} instead of requiring I enter {{ 2:00 pm }}.
Thank you.
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
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
Issue
Explain the bug/issue here
Bddevbadges is not showing with showbadgesinthechat it could be some the badges which are showing could block in the way.
Issue
Started today. As title states cant be constrcuted during load.
Canary 141316 (e700422)
BetterDiscord 1.6.2
Host 1.0.48 Windows 10 64-Bit (10.0.19044)
Issue
Better Discord says the plugin is Outdated? I hope that doesn't mean you've given up on it. I'm scared to delete it, lest I won't be able to get it back, but maybe that's the right thing to do. Delete it, then reinstall it, and everything is okay?
Hey,
The Send Timestamps plugin icon is not showing in the Text bar even it got an update it is still not showing up.
Discord crashes when reopening the timestamp selection window under certain circumstances :
4
for example) then the minutes (16
for example)Escape
, Cancel, Enter, ...)Tested with no other active plugin.
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:
Step to reproduce:
0
NaN
timestampA declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.