mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Prettified Code!
This commit is contained in:
@@ -7,10 +7,10 @@ import { endpoints } from "../../util/constants.ts";
|
||||
export async function getVoiceRegions(guildId: bigint) {
|
||||
const result = await rest.runMethod<VoiceRegion[]>(
|
||||
"get",
|
||||
endpoints.GUILD_REGIONS(guildId),
|
||||
endpoints.GUILD_REGIONS(guildId)
|
||||
);
|
||||
|
||||
return new Collection<string, VoiceRegion>(
|
||||
result.map((region) => [region.id, region]),
|
||||
result.map((region) => [region.id, region])
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user