Vijay Meena (Samar)

Results 18 comments of Vijay Meena (Samar)

discord instance cache messages that sent after bot started. you can try to fetch previous messages then it might let you see reactions for old messages.

that's actually https://github.com/owencalvin/discord.ts-template Also consider this example, https://github.com/oceanroleplay/discord.ts-example

https://github.com/OwenCalvin/discord.ts/blob/slash/examples/guards/guards/Say.ts check above example for proper usage and let us know if issue persist

Make you are using this PR OwenCalvin/discord.ts/pull/62 and try this ``` export function ExampleGaurd(): GuardFunction { // eslint-disable-next-line @typescript-eslint/no-unused-vars const guard: GuardFunction = async (interaction, client, next, _guardDatas: string[]) =>...

it's okay but you can log each steps, that all are executing correctly btw interaction event has been rename to ``interactionCreate``

and test your function without guard, that it's being executed.

yes, log each steps that all are executing for debug

you can pull new updates, I have added warning in console if a unknown interaction called

and to resolve your issue, create a test repo to produce bug. I will verify the issue in your repo.

``` const testMe: GuardFunction = async (messageOrCommand, client, next, nextObj) => { console.log("text"); await next(); }; ```