Satan1c
Satan1c
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Satan1c on 11/3/2023 in #djs-questions
[Unknown Interaction] from any deferReply, and from some editReply/reply
UPD: I've set await interaction.deferReply().catch(), and as before defer works fine and now it goes to further code more often
14 replies
DIAdiscord.js - Imagine an app
Created by Satan1c on 11/3/2023 in #djs-questions
[Unknown Interaction] from any deferReply, and from some editReply/reply
VeryPolitelySmilingDoggo
14 replies
DIAdiscord.js - Imagine an app
Created by Satan1c on 11/3/2023 in #djs-questions
[Unknown Interaction] from any deferReply, and from some editReply/reply
I do:
this.logger.log(LogLevel.Information, `before defer`);
try {
await interaction.deferReply({ ephemeral: true })
} catch {
this.logger.log(LogLevel.Information, `defer error`);
return;
}
this.logger.log(LogLevel.Information, `after defer`);
this.logger.log(LogLevel.Information, `before defer`);
try {
await interaction.deferReply({ ephemeral: true })
} catch {
this.logger.log(LogLevel.Information, `defer error`);
return;
}
this.logger.log(LogLevel.Information, `after defer`);
and I'm getting logs:
[03.10 18:39:55] [INFO]: before defer
[03.10 18:39:55] [ERRO]: [ClientEvents.error] DiscordAPIError[10062]
Unknown interaction
DiscordAPIError[10062]: Unknown interaction
. . .
[03.10 18:39:55] [INFO]: after defer
[03.10 18:39:55] [INFO]: before defer
[03.10 18:39:55] [ERRO]: [ClientEvents.error] DiscordAPIError[10062]
Unknown interaction
DiscordAPIError[10062]: Unknown interaction
. . .
[03.10 18:39:55] [INFO]: after defer
there single instance but... error was ignored, and wasn't catched...
14 replies
DIAdiscord.js - Imagine an app
Created by Satan1c on 11/3/2023 in #djs-questions
[Unknown Interaction] from any deferReply, and from some editReply/reply
I'm also start getting same errors on projects with 14.11 djs, that was created on aboyt 14.11 release, and we doesn't change anything in them, but before all was fine
14 replies
DIAdiscord.js - Imagine an app
Created by Satan1c on 11/3/2023 in #djs-questions
[Unknown Interaction] from any deferReply, and from some editReply/reply
piece of code that takes too long
as you can see, I'm directrly subscibe to event, so there no 'other' code before this...
multiple instances of that class
typedi Container creating it, so it must be a singleton
14 replies
DIAdiscord.js - Imagine an app
Created by Satan1c on 11/3/2023 in #djs-questions
[Unknown Interaction] from any deferReply, and from some editReply/reply
I've no shards, and only one bot instance, so... there mustn't be more that one process
14 replies
DIAdiscord.js - Imagine an app
Created by Satan1c on 11/3/2023 in #djs-questions
[Unknown Interaction] from any deferReply, and from some editReply/reply
I'm seeng the same on local
14 replies