potsu
potsu
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by potsu on 4/8/2024 in #djs-questions
how to handle "unknown interaction" error
aight thanks
10 replies
DIAdiscord.js - Imagine an app
Created by potsu on 4/8/2024 in #djs-questions
how to handle "unknown interaction" error
i see, but would i be able to access the channel object if the interaction is unknown?
10 replies
DIAdiscord.js - Imagine an app
Created by potsu on 2/23/2024 in #djs-questions
is accessing the message object from interaction response possible?
sorry for the ping
7 replies
DIAdiscord.js - Imagine an app
Created by potsu on 2/23/2024 in #djs-questions
is accessing the message object from interaction response possible?
oh wait nvm im dumb
7 replies
DIAdiscord.js - Imagine an app
Created by potsu on 2/23/2024 in #djs-questions
is accessing the message object from interaction response possible?
@chewie 🌈 "editedAt" doesn't exist on the fetched reply message?
7 replies
DIAdiscord.js - Imagine an app
Created by potsu on 2/23/2024 in #djs-questions
is accessing the message object from interaction response possible?
aight thanks
7 replies
VVALORANT
Created by potsu on 3/28/2023 in #community-help
valorant blackscreen and crashes whenever i click something in game
No description
2 replies
DIAdiscord.js - Imagine an app
Created by potsu on 11/13/2022 in #djs-questions
how to fetch an array of users using an array of user ids? (from user manager not guild member)
feelsTenseMan
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 11/13/2022 in #djs-questions
how to fetch an array of users using an array of user ids? (from user manager not guild member)
the users may not all be in the same guild
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 11/13/2022 in #djs-questions
how to fetch an array of users using an array of user ids? (from user manager not guild member)
i dont know the rate limits but i think if i called fetch 25 times per command usage i'll get rate limited
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 10/23/2022 in #djs-questions
why set event return type to void instead of any?
na i do need it
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 10/23/2022 in #djs-questions
why set event return type to void instead of any?
do u want me to show u what the error says? its long
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 10/23/2022 in #djs-questions
why set event return type to void instead of any?
but that wont go with the event's expected return
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 10/23/2022 in #djs-questions
why set event return type to void instead of any?
but thats just unnecessary complication
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 10/23/2022 in #djs-questions
why set event return type to void instead of any?
yea mb i typed wrong
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 10/23/2022 in #djs-questions
why set event return type to void instead of any?
u mean changing the callback to something like
Client.on("messageCreate", async function (Message): Promise<any> {
let isWrongAns = ...

if (isWrongAns) return await Message.channel.send("wrong answer") as any as Promise<any>;
})
Client.on("messageCreate", async function (Message): Promise<any> {
let isWrongAns = ...

if (isWrongAns) return await Message.channel.send("wrong answer") as any as Promise<any>;
})
18 replies
DIAdiscord.js - Imagine an app
Created by potsu on 10/23/2022 in #djs-questions
why set event return type to void instead of any?
im sorry i dont get what do u mean
18 replies