refactor: change listActiveThreads method to remove async keyword

This commit is contained in:
MARCROCK22 2025-06-13 13:38:26 -04:00
parent 84806f3c54
commit 95619a8a89

View File

@ -71,7 +71,7 @@ export class Guild<State extends StructStates = 'api'> extends (BaseGuild as unk
return this.members.fetch(this.ownerId, force);
}
async listActiveThreads(force = false): Promise<ThreadChannelStructure[]> {
listActiveThreads(force = false): Promise<ThreadChannelStructure[]> {
return this.client.threads.listGuildActive(this.id, force);
}