fix: actually store ignored channels/roles
This commit is contained in:
parent
19d9f33454
commit
e12bd6194b
12 changed files with 37 additions and 25 deletions
|
|
@ -58,7 +58,7 @@ public partial class IgnoreMessageCommands
|
|||
);
|
||||
|
||||
guildConfig.Messages.IgnoredUsers.Add(user.ID.Value);
|
||||
await guildRepository.UpdateChannelConfigAsync(guildId, guildConfig);
|
||||
await guildRepository.UpdateConfigAsync(guildId, guildConfig);
|
||||
|
||||
return await feedbackService.ReplyAsync(
|
||||
$"Successfully added {user.PrettyFormat()} to the list of ignored users."
|
||||
|
|
@ -81,7 +81,7 @@ public partial class IgnoreMessageCommands
|
|||
);
|
||||
|
||||
guildConfig.Messages.IgnoredUsers.Remove(user.ID.Value);
|
||||
await guildRepository.UpdateChannelConfigAsync(guildId, guildConfig);
|
||||
await guildRepository.UpdateConfigAsync(guildId, guildConfig);
|
||||
|
||||
return await feedbackService.ReplyAsync(
|
||||
$"Successfully removed {user.PrettyFormat()} from the list of ignored users."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue