mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-29 14:11:02 +00:00
fix(bots/discord): remove useless feature
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
import { on } from '$utils/discord/events'
|
||||
import { leaveDisallowedGuild } from '$utils/discord/security'
|
||||
|
||||
on('guildCreate', async ({ config }, guild) => {
|
||||
if (config.allowedGuilds.includes(guild.id)) return
|
||||
await leaveDisallowedGuild(guild)
|
||||
})
|
||||
Reference in New Issue
Block a user