god dammit
This commit is contained in:
parent
ed25116851
commit
14d5965caa
5 changed files with 18 additions and 20 deletions
|
@ -7,7 +7,7 @@ class PrefixCommand extends Command {
|
|||
const guild = await database.getGuild(this.guild.id);
|
||||
if (this.args.length !== 0) {
|
||||
if (!database) {
|
||||
return "Setting a per-guild prefix is not possible on a stateless instance of esmBot!"
|
||||
return "Setting a per-guild prefix is not possible on a stateless instance of esmBot!";
|
||||
}
|
||||
const owners = process.env.OWNER.split(",");
|
||||
if (!this.member.permissions.has("ADMINISTRATOR") && !owners.includes(this.member.id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue