CommandNotFoundException class

An error thrown when an interaction is received but nyxx_interactions cannot find a matching command model.

Normally this indicates that a desync between nyxx_interactions and Discord has occurred. Make sure you call IInteractions.sync and that there are no guild commands left undeleted.

Implemented types

Constructors

CommandNotFoundException(ISlashCommandInteraction interaction)
Create a new CommandNotFoundException.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
interaction ISlashCommandInteraction
The interaction containing the unknown command.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited