mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
Prettified Code!
This commit is contained in:
@@ -19,13 +19,9 @@ export async function getGuild(
|
||||
addToCache: true,
|
||||
}
|
||||
) {
|
||||
const result = await rest.runMethod<Guild>(
|
||||
"get",
|
||||
endpoints.GUILDS_BASE(guildId),
|
||||
{
|
||||
with_counts: options.counts,
|
||||
}
|
||||
);
|
||||
const result = await rest.runMethod<Guild>("get", endpoints.GUILDS_BASE(guildId), {
|
||||
with_counts: options.counts,
|
||||
});
|
||||
|
||||
const guild = await structures.createDiscordenoGuild(
|
||||
result,
|
||||
|
||||
Reference in New Issue
Block a user