You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/internal/commands/application/ApplicationCommandListener.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -263,7 +263,7 @@ internal class ApplicationCommandListener internal constructor(
263
263
if (event.isAcknowledged) {
264
264
logger.trace { "${filter.description} rejected application command '${event.commandString}' by user ${event.user.id}: $rejectionReason" }
265
265
} else {
266
-
logger.error { "${filter.description} rejected application command '${event.commandString}' by user ${event.user.id} but did not acknowledge the interaction: $rejectionReason" }
266
+
logger.warn { "${filter.description} rejected application command '${event.commandString}' by user ${event.user.id} but did not acknowledge the interaction: $rejectionReason" }
267
267
}
268
268
returnfalse
269
269
}
@@ -283,4 +283,4 @@ internal class ApplicationCommandListener internal constructor(
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/internal/components/controller/ComponentsListener.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ internal class ComponentsListener(
111
111
if (event.isAcknowledged) {
112
112
logger.trace { "${filter::class.simpleNestedName} rejected ${event.componentType} interaction by user ${event.user.id} (handler: ${component.handler}): $rejectionReason" }
113
113
} else {
114
-
logger.error { "${filter::class.simpleNestedName} rejected ${event.componentType} interaction by user ${event.user.id} (handler: ${component.handler}) but did not acknowledge the interaction: $rejectionReason" }
114
+
logger.warn { "${filter::class.simpleNestedName} rejected ${event.componentType} interaction by user ${event.user.id} (handler: ${component.handler}) but did not acknowledge the interaction: $rejectionReason" }
0 commit comments