Fixing formatting

This commit is contained in:
2024-01-21 00:03:19 +01:00
parent 614feeff3e
commit 9ec53882d1
15 changed files with 138 additions and 277 deletions

View File

@@ -21,10 +21,7 @@ const channels = {
type Channel = keyof typeof channels
export default async function logToChannel(
channel: Channel,
message: MessageCreateOptions
): Promise<void | null> {
export default async function logToChannel(channel: Channel, message: MessageCreateOptions): Promise<void | null> {
const guild = Illegitimate.client.guilds.cache.get(guildid) as Guild
let logChannel: TextChannel
@@ -35,9 +32,7 @@ export default async function logToChannel(
}
if (!logChannel) {
console.log(
`[ERROR] Could not find channel used for ${channel} logging.`
)
console.log(`[ERROR] Could not find channel used for ${channel} logging.`)
return
}