-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Timed Message Addon (Non-Functioning) #52
Comments
Silly question but did you move the timedmessages.js into
|
... Yes. Its loading perfectly, just not functioning. |
Just an update -- I've tried several methods of investigation so far and nothing seems to be playing nice. Nothing in the debug side, script is definitely loading, and everything else works but this. Very odd stuff to say the least. Might toy with converting the CommonJS module over to an ES module to see if it throws any errors that is useful. |
Did you make any progress on this? I haven't had time to setup another server to test it yet |
Not yet, sadly. I did successfully convert it over to ES, but it hasn't done much. I've been running that server for a solid day now, and thus far, nothing useful in debug either. I was expecting maybe somewhere I might get some type of error message along the way due to too many failed attempts. Another curious thing that I'm going to look into some is the log function, as that's a relatively identical addon. I know for a fact the voice channel addon works flawlessly. Everything else is within spec and its not being rate limited, as I suspected that might be the route. I plan on diving into that some more here shortly. |
The voice channel plugin is a bit more of a pain with the limit of how often you can update that within the discord api. The channel id you set for the message thing type it in chat wrapped in |
Yeah, I've found as I tinker with the voice channel bit, that it seems like a potential rate limit nightmare. Good to know about the errors. I'll investigate that further and see. |
zdiscord/optional addons/timedmessage.js Lines 51 to 53 in 737e7d4
yeah this could be important lmao just through a quick log on it } catch(e) {
console.log(e)
} |
Removing the color function made it work immediately. |
Going to try switching it over to .setColor('#f2449e') rq |
Opps.. lmao yeah it's setColor xD |
Bingo! Works like a charm now. |
af03e96 fixed for future people xD |
Describe the bug
Timed message addon doesn't appear to actually work.
To Reproduce
Nothing. Simply doesn't do anything once the channel id is added. Attempted a few small troubleshooting steps, like permissions, making a new channel, and manually restarting script. Once I have more time later, I'll dig in and see what I can find out. Nothing out of the ordinary in debug, either.
Expected behavior
Function as intended.
Screenshots
None.
Information:
Additional context
Once I finish a few major functions, I plan on ripping into it to see if I can find out anything. I'll report any findings here. Everything else is working as intended, such as the voice channel, status switcher, and everything else. Bot is Admin on the server with proper permissions.
The text was updated successfully, but these errors were encountered: