Zach
DIAdiscord.js - Imagine a bot
•Created by A on 6/16/2024 in #djs-questions
Audit Log Executer
They might just listen to events that go off and not use the audit log, depending on what they need to look for
14 replies
DIAdiscord.js - Imagine a bot
•Created by coltbando on 6/12/2024 in #djs-questions
syntax error
🫡
39 replies
DIAdiscord.js - Imagine a bot
•Created by coltbando on 6/12/2024 in #djs-questions
syntax error
Oh that actually makes so much sense
39 replies
DIAdiscord.js - Imagine a bot
•Created by coltbando on 6/12/2024 in #djs-questions
syntax error
Why is it called a linter
39 replies
DIAdiscord.js - Imagine a bot
•Created by Rodry on 6/8/2024 in #djs-questions
Readonly array in message options interface
The types are not very convenient when they break a code base. But fair enough, I will just lock the version in the future and expect other breaking changes in my typescript code base if I ever need to up version.
127 replies
DIAdiscord.js - Imagine a bot
•Created by Rodry on 6/8/2024 in #djs-questions
Readonly array in message options interface
I’m not attacking them, I’m explaining why I think a breaking change like that would be submitted and allowed into the code base. If I use discord.js’s typescript package in my application, I expect not to have the typing introduce breaking changes on non-major releases. Types aren’t added for convenience, they’re added to support compiler-enforced data invariants.
127 replies
DIAdiscord.js - Imagine a bot
•Created by Rodry on 6/8/2024 in #djs-questions
Readonly array in message options interface
It’s a breaking change.
127 replies
DIAdiscord.js - Imagine a bot
•Created by Rodry on 6/8/2024 in #djs-questions
Readonly array in message options interface
Yes, this PR broke my code base as well. It should not have been approved for a non-major release. I think the code author is likely just inexperienced and doesn’t fully understand the change they made.
127 replies
DIAdiscord.js - Imagine a bot
•Created by Bejasc on 3/7/2024 in #djs-questions
member.setNickname or member.roles.add occasionally not working
Is it a role hierarchy issue? Trying to modify a user higher than the bot?
8 replies