You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
The code and warning suggests there should be an early return should be present here
// silence all logging channel event messages if an ID has not been set,// yet an attempt is still being made to log somethingif(loggingChannelId===''&&loggingLevel!==0){botConfig.logging.loggingChannel.verboseLevel=0;logEvent(EventCategory.Warning,'core','No logging channel ID has been set, to prevent this warning, set `logging.loggingChannel.verboseLevel` to 0 in the config. Logging through discord will be disabled until restart.',1);}// Sending the event to the logging channelif(loggingLevel>=verbosity){/** * The actual {@link TextChannel} discord.js reference to the * event channel */constloggingChannel: TextChannel=client.channels.cache.get(loggingChannelId)asTextChannel;voidloggingChannel.send({embeds: [eventEmbed]});}```
The text was updated successfully, but these errors were encountered:
The code and warning suggests there should be an early return should be present here
The text was updated successfully, but these errors were encountered: