Comments (14)
Silly question but did you move the timedmessages.js into /server/addons/
and when you start the bot it says something like
[zdiscord][2022-3-15 13:56:41][INF]: [ADDON] timedmessage.js addon found and loaded
from zdiscord.
...
Yes. Its loading perfectly, just not functioning.
from zdiscord.
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.
from zdiscord.
Did you make any progress on this? I haven't had time to setup another server to test it yet
from zdiscord.
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.
from zdiscord.
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 <#ID>
so like if it was 00000 it's be <#00000>
it should auto convert to a mention of the channel you want the message to send in if it's correct. I will note however that I think I voided all errors for the addons only cause I didn't want them killing the bot
from zdiscord.
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.
from zdiscord.
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)
}
from zdiscord.
Haha way ahead of you, as you had me curious. I didn't even think to check that.
from zdiscord.
Removing the color function made it work immediately.
from zdiscord.
Going to try switching it over to .setColor('#f2449e') rq
from zdiscord.
Opps.. lmao yeah it's setColor xD
from zdiscord.
Bingo! Works like a charm now.
from zdiscord.
af03e96 fixed for future people xD
from zdiscord.
Related Issues (20)
- [BUG] - Failed to fetch Discord server HOT 10
- [BUG] HOT 1
- Safety HOT 1
- Need some help HOT 2
- [BUG] HOT 1
- jail command
- [Feature] add the notifications of ox_lib
- webhook HOT 4
- hit a 429 HOT 8
- [BUG] Bot not stopping anyone? HOT 6
- [BUG/HELP] DiscordGuildid issue and i set my discord id correctly in config.js but its not working
- [BUG] HOT 2
- Whitelisting not working well HOT 1
- Export Other Player ID File HOT 3
- Discord Commands HOT 2
- [Feature]
- screenshoot not working [BUG]
- Player name showing "invalid" is on road name HOT 1
- Get Discord Profile Picture HOT 3
- [Every commands fail after first] HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zdiscord.