mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-21 10:13:57 +00:00
fix(bots/discord): remove useless feature
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
import type { Guild } from 'discord.js'
|
||||
import { logger } from '../../context'
|
||||
|
||||
export const leaveDisallowedGuild = (guild: Guild) => {
|
||||
logger.warn(`Server ${guild.name} (${guild.id}) is not allowed to use this bot.`)
|
||||
return guild.leave().then(() => logger.debug(`Left guild ${guild.name} (${guild.id})`))
|
||||
}
|
||||
Reference in New Issue
Block a user