Remove config param from edit_clan_council_info().

This commit is contained in:
2024-09-03 19:33:13 -04:00
parent 06d81a4604
commit 3a47f58382
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class ClanMessages(commands.Cog, name="Clan Messages"):
# if the council members template has changed, update the message
if "council_members.txt" in template_updates:
await edit_clan_council_info(self.bot.get_guild(self.config.params.guild_id), self.config)
await edit_clan_council_info(self.bot.get_guild(self.config.params.guild_id))
return {"message": "Successfully updated all discord messages."}
+1 -1
View File
@@ -61,5 +61,5 @@ class RefreshCog(commands.Cog, name="Refresh Commands"):
Args:
interaction (nextcord.Interaction): Interaction with the command.
"""
await edit_clan_council_info(interaction.guild, self.bot.config)
await edit_clan_council_info(interaction.guild)
await interaction.response.send_message("Clan Council Info message updated.", ephemeral=True)