This commit is contained in:
Skillz
2020-11-18 09:20:36 -05:00
parent 213b8dcf7d
commit f3a66be660
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -55,7 +55,10 @@ export function deleteServer(guildID: string) {
/** Gets an array of all the channels ids that are the children of this category. */
export function categoryChildrenIDs(guildID: string, id: string) {
return cacheHandlers.filter("channels", (channel) => channel.parentID === id && channel.guildID === guildID);
return cacheHandlers.filter(
"channels",
(channel) => channel.parentID === id && channel.guildID === guildID,
);
}
/** The full URL of the icon from Discords CDN. Undefined when no icon is set. */