mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
change: prettier code
This commit is contained in:
committed by
GitHub Action
parent
2427a5d2c8
commit
88609ddbd2
@@ -5,7 +5,7 @@ import { SnakeCasedPropertiesDeep } from "../../types/util.ts";
|
||||
|
||||
export async function handleGuildRoleCreate(bot: Bot, data: DiscordGatewayPayload) {
|
||||
const payload = data.d as SnakeCasedPropertiesDeep<GuildRoleCreate>;
|
||||
|
||||
|
||||
const guildId = bot.transformers.snowflake(payload.guild_id);
|
||||
const guild = await bot.cache.guilds.get(guildId);
|
||||
if (!guild) return;
|
||||
|
||||
Reference in New Issue
Block a user