mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Mod] fix exception caused by typo (#3559)
This commit is contained in:
parent
d7b73eb50f
commit
ae7773cfcf
@ -116,5 +116,5 @@ class Mod(
|
|||||||
await self.settings.guild_from_id(guild_id).ignored.clear()
|
await self.settings.guild_from_id(guild_id).ignored.clear()
|
||||||
for channel_id, settings in all_channels.items():
|
for channel_id, settings in all_channels.items():
|
||||||
await self.bot._config.channel_from_id(channel_id).ignored.set(settings["ignored"])
|
await self.bot._config.channel_from_id(channel_id).ignored.set(settings["ignored"])
|
||||||
await self.settings.channel_fro_id(channel_id).clear()
|
await self.settings.channel_from_id(channel_id).clear()
|
||||||
await ctx.send(_("Ignored channels and guilds restored."))
|
await ctx.send(_("Ignored channels and guilds restored."))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user