diff options
| author | Fuwn <[email protected]> | 2025-10-06 22:23:18 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-10-06 22:23:18 -0700 |
| commit | 47557d02ba8af8cb1f2216e968e4685cde45b64c (patch) | |
| tree | c671a9c9e0432520457c3b54ef9ebc5b8b510696 /packages/gateway | |
| parent | refactor(gateway:roleProtection): Use colour role IDs global constant (diff) | |
| download | umabotdiscord-47557d02ba8af8cb1f2216e968e4685cde45b64c.tar.xz umabotdiscord-47557d02ba8af8cb1f2216e968e4685cde45b64c.zip | |
style(gateway:roleProtection): Clean and lint
Diffstat (limited to 'packages/gateway')
| -rw-r--r-- | packages/gateway/src/listeners/roleProtection.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gateway/src/listeners/roleProtection.ts b/packages/gateway/src/listeners/roleProtection.ts index aa24dbf..61d60da 100644 --- a/packages/gateway/src/listeners/roleProtection.ts +++ b/packages/gateway/src/listeners/roleProtection.ts @@ -1,5 +1,9 @@ import { Client, Events } from "discord.js"; -import { CENTRAL_GUILD_ID, CENTRAL_PROTECTED_ROLE_ID, COLOR_ROLE_IDS } from "../constants"; +import { + CENTRAL_GUILD_ID, + CENTRAL_PROTECTED_ROLE_ID, + COLOR_ROLE_IDS, +} from "../constants"; export const handleRoleProtection = (client: Client) => { client.on(Events.GuildMemberUpdate, async (oldMember, newMember) => { |