Snapper
DIAdiscord.js - Imagine an app
•Created by Snapper on 2/23/2024 in #djs-questions
message collector filter not working as intended
Hello, I'm trying to build a message collector that only collects specific numbers or phrases for a bot for a game community.
In doing so, I'm not sure why this logic isn't working. Is there another logic I can use or a change to the syntax I can use that will help me get the reply to be edited at the bottom of my code?
15 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 11/19/2023 in #djs-questions
is there a way to enable slash commands to work from the discord overlay?
Like could I potentially have a message filter in an event that captures someone typing it from the overlay and then triggers a command for that person?
I'm just not entirely sure how overlay messages are treated in discord.
7 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 11/9/2023 in #djs-questions
unable to access cache for member.roles
for some reason the if(!member.roles.cache.find('')) is coming back as undefined. What did I do wrong?
12 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 11/9/2023 in #djs-questions
client.channels.cache.get(channelId) returning undefined
Hello, I'm unsure why a specific message is returning undefined from a channel. Could use another set of eyes since I've been staring for so long.
35 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/15/2023 in #djs-questions
my reaction isn't being passed from one script to another.
Passing
Retrieving
12 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/10/2023 in #djs-questions
if one user is already using a slash command, other users are unable to create their own instances
I made a quiz bot recently and when more than 1 person is trying to use the commands at a time the bot responds with "this command failed" when they try to enter the loop for the quiz.
Is there some reason it doesn't support multiple instances?
5 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/9/2023 in #djs-questions
Filter not picking up when a user interacts with a static message
7 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/7/2023 in #djs-questions
is there a way to make discord wait for a second button input after the first update?
Also update the buttons in the action row...
20 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/7/2023 in #djs-questions
Reply failing on button interaction, getting no errors
22 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/6/2023 in #djs-questions
logic building question (flow chart included):
6 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/6/2023 in #djs-questions
Not sure why my embed is failing.
Hello! I have an embed that I'm putting together and I'm getting a TypeError that I'm not quite sure I understand. Could someone help me understand what the error is trying to say?
22 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/5/2023 in #djs-questions
Need help sending an echo to a channel without it being a reply to a slash command.
The title says it all.
I want the reply to be sent as an ephemeral message to the user in the channel they performed the slash command,
and I want the message to echo into another text channel.
I've been at this all day and haven't had any luck. Here's what I've got code wise at the moment but I've tried just about everything I can find.
23 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/4/2023 in #djs-questions
Is there a way to hide this part of the slash command
13 replies
DIAdiscord.js - Imagine an app
•Created by Snapper on 6/4/2023 in #djs-questions
Bot becomes unresponsive after executing a slash command
Hello! I'm building a discord bot and I've got it functional up to the point of the slash command handler working for one iteration. After any user sends a slash command the bot becomes unresponsive
I'm not sure where in my Logic the issue may be, so I'm going to post the relevant code blocks and maybe someone might be able to help me understand where I went wrong 🙂
38 replies