Remove config param from edit_clan_council_info().
This commit is contained in:
@@ -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."}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user