🔇 unnessecery logging removed

This commit is contained in:
Axel Olausson Holtenäs 2022-10-19 09:11:07 +02:00
parent 255235630d
commit 834a67b3f1
2 changed files with 0 additions and 10 deletions

View file

@ -2,7 +2,6 @@ import { Guild } from "discord.js";
import fetchGuild from "../../../helpers/guildData";
import updatePresence from "../../../helpers/updatePresence";
import { IEventOptions } from "../../../interfaces/EventOptions";
import logger from "../../../middlewares/logger";
export const options: IEventOptions = {
type: "on",
@ -11,10 +10,6 @@ export const options: IEventOptions = {
export const execute = async (guild: Guild) => {
const { client } = guild;
logger?.silly(`Added to guild: ${guild.name} (${guild.id})`);
await fetchGuild(guild);
await updatePresence(client);
logger.silly(`guildCreate: ${guild}`);
};

View file

@ -4,7 +4,6 @@ import { Guild } from "discord.js";
import dropGuild from "../../../helpers/deleteGuildData";
import updatePresence from "../../../helpers/updatePresence";
import { IEventOptions } from "../../../interfaces/EventOptions";
import logger from "../../../middlewares/logger";
export const options: IEventOptions = {
type: "on",
@ -13,10 +12,6 @@ export const options: IEventOptions = {
export const execute = async (guild: Guild) => {
const { client } = guild;
logger?.silly(`Deleted from guild: ${guild.name} (${guild.id})`);
await dropGuild(guild);
await updatePresence(client);
logger.silly(`guildDelete: ${guild}`);
};