forked from Galactic/galactic-bot
guild not defined in dms
This commit is contained in:
parent
811dfe7d43
commit
060892b83a
@ -61,7 +61,7 @@ class Command extends Component {
|
||||
usageEmbed(message, verbose = false) {
|
||||
|
||||
const { guild } = message;
|
||||
const type = guild._settings.permissionType;
|
||||
const type = guild?._settings.permissionType;
|
||||
const prefix = guild?.prefix || this.client.prefix;
|
||||
const fields = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user