added slash command support

This commit is contained in:
Ashley Rosch
2021-08-20 03:19:57 -05:00
parent bc835922a5
commit e21d5573b1
6 changed files with 75 additions and 7 deletions

1
types/Opt.d.ts vendored
View File

@@ -31,5 +31,6 @@ export interface RowButton {
export interface Row {
type: 'row';
message: string;
id: string; //not needed for api, just needed for slash commands
buttons: [RowButton?, RowButton?, RowButton?, RowButton?, RowButton?];
}