Pre
Pre-release
Pre-release
Changes
hasPerm
method nd function to check if the bot or any user has certain perm in the channel linked to a cmd's msg.
Inside a Command class (checks only for the bot)
this.botHasPerm( perm: PermissionResolvable ): boolean
Anywhere (checks for any user)
import { userHasPerm } from 'breezer.js';
userHasPerm( perm, userId: string, msg: Message ): Promise<boolean>