mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
chore: remove old button roles implementation
This commit is contained in:
parent
3fe71b3e27
commit
05334a772f
12 changed files with 50 additions and 450 deletions
|
@ -8,7 +8,6 @@ export const MessageDeletedEvt = reactionRolesEvt({
|
|||
async listener(meta) {
|
||||
const pluginData = meta.pluginData;
|
||||
|
||||
await pluginData.state.buttonRoles.removeAllForMessageId(meta.args.message.id);
|
||||
await pluginData.state.reactionRoles.removeFromMessage(meta.args.message.id);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue