Archived
on events type declaration
This commit is contained in:
1 parent
6cd71bbf31
commit
9ac0fa7fdd
2 files changed
+10
-3
No files matched your search
+1
-3
@@ -34,7 +34,7 @@ interface PhraseOccurrenceData {
|
||||
type: "NAME" | "ALIAS";
|
||||
}
|
||||
|
||||
//ERROR CLASSES
|
||||
//CLASSES
|
||||
export class PermissionsError {
|
||||
private command: Command;
|
||||
private user: GuildMember | null;
|
||||
@@ -46,8 +46,6 @@ export class PermissionsError {
|
||||
return `User ${this.user?.user.tag} doesn't have enough permissions to run "${this.command.name}" command`;
|
||||
}
|
||||
}
|
||||
|
||||
//CLASSES
|
||||
export class Command {
|
||||
name: string;
|
||||
aliases: string[];
|
||||
|
||||
Reference in new issue
Block a user