⚡AmirhN
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 4/25/2024 in #djs-questions
Fetch messages from multiple channels
Heya, I need a solution to find active users in a guild, so the base idea is like a command that defines a timestamp like 12h or 24h or 1h, and the bot need to find members that has sent at least one message in the mentioned interval. What's the best solution to prevent rate limits and such?
6 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
title. why?
22 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 9/8/2022 in #djs-questions
set image of embed from local file
title
14 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 9/8/2022 in #djs-questions
context menu for user and message
is there any way to activate a context menu for both user and message? if not can they use same name (.setName)?
3 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 9/6/2022 in #djs-questions
guildMemberUpdate - not working first attempt
why does sometimes guildMemberUpdate won't trigger first time? when i start the bot, it won't detect first change, it will start detecting at second one. and is it guaranteed that guildMemberUpdate data's are upToDate?
19 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 9/6/2022 in #djs-questions
discord.js snippets
3 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 8/29/2022 in #djs-questions
missing access to disable buttons
so i'm getting
> unhandledRejection: DiscordAPIError[50001]: Missing Access
while trying to disable some buttons after a period of time (using pagination). changing pages is fine but when it comes to disabling buttons, it gives me this error. does bot need any special permission to prevent this?
note: i only get this error when bot can't see the channel.14 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 8/16/2022 in #djs-questions
set guild-only commands
is there any way to set some commands to be only available in certain guilds with IDs, and other commands get deployed globally?
18 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 7/21/2022 in #djs-questions
await for modals
where is doc to await for modals in v13
6 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 7/12/2022 in #djs-questions
hyperlink to trigger a command
is it possible to make hyperlinks (something like discord://SendInteraction or discord://SendMessage) to send a message or fill a command or send a command upon clicking on it?
12 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 7/11/2022 in #djs-questions
setDMPermission is not a function
setDMPermission is not a function.
+-- @discordjs/[email protected]
+-- @discordjs/[email protected]
16 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 7/9/2022 in #djs-questions
post messages automatically per x min
is there any optimized way to post messages automatically per X minutes? the minutes and messages could change when bot is online btw.
6 replies
DIAdiscord.js - Imagine an app
•Created by ⚡AmirhN on 7/6/2022 in #djs-questions
is it possible for .catch() to contain sensitive data?
i mean, is it possible to leak some private info like Bot Token if you directly share .catch() error in discord?
17 replies