GeodesicDragon
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 7/1/2024 in #djs-questions
'GLIBCXX_3.4.26' Not Found
That might help, thank you.
It shouldn't be too hard to downgrade Node.
5 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 7/1/2024 in #djs-questions
'GLIBCXX_3.4.26' Not Found
5 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/7/2022 in #djs-questions
Can't DM My Bot But Other People Can
I managed to fix it myself.
Thanks anyway.
7 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/7/2022 in #djs-questions
Can't DM My Bot But Other People Can
What I'm trying to figure out is why I can't send it any messages.
7 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/7/2022 in #djs-questions
Can't DM My Bot But Other People Can
I know it's a number; it still responds to other people as I said even with the 1 in single quotes.
7 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
Everything appears to be working as I'd hoped.
Thanks for the assistance. 👍
26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
Never mind, I got it working.
Just had to replace
interactionUser.username
with interactionUser.user.username
.26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
Still returning 'undefined.'
26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
All right, final question (I hope).
How do I get the username from the ID number?
I tried
interaction.guild.members.cache.get(userid)
but that returns 'undefined.'26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
So
interaction.guild.bans.create(userid){reason: banreason}
?26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
Okay, that's working now. All that remains is to attach a reason to the ban (because I hate seeing 'no reason provided' in my ban list.
26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
Tweaked a couple of things; the ban is now being applied, but the message explaining why the user was banned isn't being sent to the channel I want.
TypeError: Cannot read properties of undefined (reading 'cache')
Code has been updated on Pastebin.26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
I tried
guild.bans.create(id)
and got an error: ReferenceError: guild is not defined
26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 10/4/2022 in #djs-questions
Ban Command Not Working
And how would I attach the reason to that?
26 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 8/23/2022 in #djs-questions
(SOLVED) Issues With Slash Command Integration
Ah, right, that's what I was missing. Thanks.
19 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 8/23/2022 in #djs-questions
(SOLVED) Issues With Slash Command Integration
Actually, there's something else. I'd like to have a single slash command that does different things depending on the channel it is used in.
Is this possible?
19 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 8/23/2022 in #djs-questions
(SOLVED) Issues With Slash Command Integration
Got it working by looking at the code on GitHub. Thanks for the help.
19 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 8/23/2022 in #djs-questions
(SOLVED) Issues With Slash Command Integration
I have no idea what that means.
(Reminder that I'm new to this.)
19 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 8/23/2022 in #djs-questions
(SOLVED) Issues With Slash Command Integration
I've updated the Pastebin with the new code.
19 replies
DIAdiscord.js - Imagine an app
•Created by GeodesicDragon on 8/23/2022 in #djs-questions
(SOLVED) Issues With Slash Command Integration
19 replies