mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-05 14:36:09 +00:00
fix(core): editRule path
This commit is contained in:
parent
9345a6900f
commit
3ddd6d51dc
@ -186,8 +186,8 @@ export class GuildManager {
|
||||
return this.session.api.guilds(guildId)['auto-moderation'].rules.post({ body, reason });
|
||||
}
|
||||
|
||||
editAutoModerationRule(guildId: string, body: RESTPatchAPIAutoModerationRuleJSONBody, reason?: string) {
|
||||
return this.session.api.guilds(guildId)['auto-moderation'].rules.patch({ body, reason });
|
||||
editAutoModerationRule(guildId: string, ruleId: string, body: RESTPatchAPIAutoModerationRuleJSONBody, reason?: string) {
|
||||
return this.session.api.guilds(guildId)['auto-moderation'].rules(ruleId).patch({ body, reason });
|
||||
}
|
||||
|
||||
deleteAutoModerationRule(guildId: string, ruleId: string, reason?: string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user