add guild

This commit is contained in:
Noah committed 2021-12-18 18:58:02 -06:00
1 parent e507176d39
commit e83ca8cb2b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 -1
View File
@@ -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.`