refactor(menu): Made sure the menu can be used for more than group
This commit is contained in:
parent
a79898b2e9
commit
1d73ee8a78
16 changed files with 650 additions and 406 deletions
10
source/Events/ComponentInteractionEvent.ts
Normal file
10
source/Events/ComponentInteractionEvent.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import {AnySelectMenuInteraction, ButtonInteraction} from "discord.js";
|
||||
|
||||
export class ComponentInteractionEvent {
|
||||
|
||||
constructor(
|
||||
public readonly interaction: AnySelectMenuInteraction | ButtonInteraction
|
||||
) {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue