Adds Event system and automatic messages
This commit is contained in:
parent
0e10ea3cab
commit
2f826fbf36
20 changed files with 428 additions and 18 deletions
|
|
@ -30,7 +30,7 @@ export class GroupSelection {
|
|||
)
|
||||
}
|
||||
|
||||
public static getGroup(interaction: CommandInteraction): GroupModel {
|
||||
public static getGroup(interaction: CommandInteraction|AutocompleteInteraction): GroupModel {
|
||||
const groupname = interaction.options.get("group", true);
|
||||
if (!groupname) {
|
||||
throw new UserError("No group name provided");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue