fix: add missing import "PermissionsBitField" (#117)

Update subcommandPermCheck.ts
This commit is contained in:
Max
2024-08-02 01:25:41 +12:00
committed by GitHub
parent 6c0013007f
commit 8b673c734f

View File

@@ -30,7 +30,7 @@
* ```
* @end
*/
import type { GuildMember, PermissionResolvable, TextChannel } from 'discord.js';
import type { GuildMember, PermissionResolvable, TextChannel, PermissionsBitField } from 'discord.js';
import { type CommandType, CommandControlPlugin, controller } from '@sern/handler';
export const permsToString = (...perms: PermissionResolvable[]) => {