Akihiro
DIAdiscord.js - Imagine an app
•Created by Akihiro on 1/18/2023 in #djs-questions
Get embed data from discohook link
Alright, I'll close that then, thanks anyway <:KleeOK_GreenTea:782407596778061835>
4 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 1/18/2023 in #djs-questions
Get embed data from discohook link
Well I thought there was something/a trick with
EmbedBuilder
that can use some data from discohooks links ? Like I dunno the "data" parameters in the link ?
But according to your answer, I guess not ?4 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/26/2022 in #djs-questions
find user, in the cache or not ?
So if I understand correctly, I should always use the cache ? Or does it only depend on whether I want it to raise an exception or not ? Are there cases where we will always prefer one over the other?
7 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/26/2022 in #djs-questions
find user, in the cache or not ?
<:KleeOK_GreenTea:782407596778061835> Alright, thanks a lot !
7 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/25/2022 in #djs-questions
[✅]lastMessage is null when lastMessageId is not ? [DM channel]
Yeah I forgot about this cached concept sorry again !
12 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/25/2022 in #djs-questions
[✅]lastMessage is null when lastMessageId is not ? [DM channel]
Thank you ~ <:KleeOK_GreenTea:782407596778061835>
12 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/25/2022 in #djs-questions
[✅]lastMessage is null when lastMessageId is not ? [DM channel]
Yeah, alright
12 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/25/2022 in #djs-questions
[✅]lastMessage is null when lastMessageId is not ? [DM channel]
So I have to get around this by fetching the message with the ID I guess ? <:AlbedoMath_Wilock:799116606168629248>
12 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/25/2022 in #djs-questions
[✅]lastMessage is null when lastMessageId is not ? [DM channel]
additional information :
The DM channel between me and the bot contains only two message from him
12 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/20/2022 in #djs-questions
Managing command access depending on roles
<:KleeOK_GreenTea:782407596778061835> Alright thank you for your help !
I'll close the thread in about 30 minutes if someone want to add something
7 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 12/20/2022 in #djs-questions
Managing command access depending on roles
Yeah, I don't like slash commands, I rather like the old way xD
message.member.roles.cache
Yeah, this will give me all roles of the given user but how do I handle permission management next ? <:AlbedoMath_Wilock:799116606168629248>
Which method do I choose? Do I store for each command the list of roles that have access to it?7 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 8/31/2022 in #djs-questions
Delete bot Message in a DM Channel !
Owh ! Yeah ! It worked !
I guess I have to review my knoweldge on Maps x)
Thanks ! = )
8 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 8/31/2022 in #djs-questions
Delete bot Message in a DM Channel !
To clear the DMs I have with my bot which is getting messy with all my tests x)
8 replies
DIAdiscord.js - Imagine an app
•Created by Akihiro on 8/31/2022 in #djs-questions
Delete bot Message in a DM Channel !
I tried with that :
But all console log return undefined...
in fact, no matter which property I try to access, it returns "undefined".
But if I log the whole object, I can see the properties and their values, is it an Intents problem ?
8 replies