Fix ownerId ref
All checks were successful
NodBot Production Dockerization / build (push) Successful in 19s
All checks were successful
NodBot Production Dockerization / build (push) Successful in 19s
This commit is contained in:
parent
fd60089d39
commit
94301bb3f5
@ -680,7 +680,7 @@ const functions = {
|
||||
console.log(` - ${guild.name} (${guild.id})`);
|
||||
if (config.bannedServers.includes(guild.id)) {
|
||||
console.log(` Leaving banned server: ${guild.name}`);
|
||||
statusChannel.send(`<@${process.env.OWNER_ID}> Leaving banned server: ${guild.name}`);
|
||||
statusChannel.send(`<@${process.env.ownerId}> Leaving banned server: ${guild.name}`);
|
||||
guild.leave().then(resolve).catch(reject);
|
||||
} else {
|
||||
resolve();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user