nyxx/nyxx.interactions/lib/src/Exceptions/AlreadyResponded.dart

14 lines
422 B
Dart
Raw Normal View History

2020-12-22 12:33:28 +01:00
part of nyxx_interactions;
2021-02-10 17:29:42 +01:00
/// Thrown when you have already responded to an interaction
2020-12-22 12:33:28 +01:00
class AlreadyResponded implements Error {
2021-02-10 17:29:42 +01:00
2020-12-22 12:33:28 +01:00
/// Returns a string representation of this object.
@override
String toString() =>
"AlreadyRespondedError: Interaction has already been acknowledged, you can now only send channel messages (with/without source)";
@override
StackTrace? get stackTrace => StackTrace.empty;
2021-02-10 17:29:42 +01:00
}