fix Plugins broken by recent Discord changes (#3569)
Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
parent
29a2bcbf07
commit
cb36cf5706
11 changed files with 38 additions and 30 deletions
|
|
@ -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>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue