add guild
This commit is contained in:
1 parent
e507176d39
commit
e83ca8cb2b
2 files changed
+2
-2
No files matched your search
@@ -1,5 +1,5 @@
|
||||
const Event = require("../Structures/Event.js");
|
||||
module.exports = new Event("guildCreate", async (client) => {
|
||||
module.exports = new Event("guildCreate", async (client, guild) => {
|
||||
console.log(
|
||||
`\u001b[31m`,
|
||||
`${client.user.username} is not in the correct server set in your config. Please leave all other servers and restart the bot.`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const Event = require("../Structures/Event.js");
|
||||
|
||||
module.exports = new Event("guildDelete", async (client) => {
|
||||
module.exports = new Event("guildDelete", async (client, guild) => {
|
||||
console.log(
|
||||
`\u001b[31m`,
|
||||
`${client.user.username} is not in the correct server set in your config. Please join the server and restart the bot.`
|
||||
|
||||
Reference in new issue
Block a user