fix Plugins broken by recent Discord changes (#3569)

Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
sadan4 2025-07-31 16:31:33 -04:00 committed by GitHub
parent 29a2bcbf07
commit cb36cf5706
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 38 additions and 30 deletions

View file

@ -1,7 +1,8 @@
import { FluxStore, Role } from "..";
// TODO: add the rest of the methods for GuildRoleStore
export class GuildRoleStore extends FluxStore {
getRole(guildId: string, roleId: string): Role;
getRoles(guildId: string): Record<string, Role>;
getAllGuildRoles(): Record<string, Record<string, Role>>;
getSortedRoles(guildId: string): Role[];
getRolesSnapshot(guildId: string): Record<string, Role>;
}