Split BaseRepository into non-guild and guild
BaseRepository includes all the non-guild-specific functionality, such as with() and getRelations(). BaseGuildRepository includes guild-specific functionality, such as getInstance().
This commit is contained in:
parent
1aa549e391
commit
d54897acdd
39 changed files with 162 additions and 156 deletions
|
@ -41,7 +41,7 @@ export class SelfGrantableRolesPlugin extends ZeppelinPlugin<ISelfGrantableRoles
|
|||
}
|
||||
|
||||
onLoad() {
|
||||
this.selfGrantableRoles = GuildSelfGrantableRoles.getInstance(this.guildId);
|
||||
this.selfGrantableRoles = GuildSelfGrantableRoles.getGuildInstance(this.guildId);
|
||||
}
|
||||
|
||||
@d.command("role remove", "<roleNames:string...>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue