From be4c4c2d40755f1c75b7009101f387119b413201 Mon Sep 17 00:00:00 2001 From: Paul Maris <71769515+PaulMarisOUMary@users.noreply.github.com> Date: Sat, 30 Dec 2023 22:40:37 +0100 Subject: [PATCH] change method name of trigger_birthday --- cogs/birthday.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/birthday.py b/cogs/birthday.py index ab99cd3..a630c40 100644 --- a/cogs/birthday.py +++ b/cogs/birthday.py @@ -130,7 +130,7 @@ async def show_birthday_message(self, interaction: discord.Interaction, user: Un @commands.command(name="triggerbirthday") @commands.is_owner() @commands.guild_only() - async def config_invite_logs(self, ctx: commands.Context, guild_id: Optional[int] = None) -> None: + async def trigger_birthday(self, ctx: commands.Context, guild_id: Optional[int] = None) -> None: """Trigger manually the birthday.""" if guild_id and not guild_id in [guild.id for guild in self.bot.guilds]: await ctx.send(f"Invalid Guild id `{guild_id}`.") @@ -143,4 +143,4 @@ async def config_invite_logs(self, ctx: commands.Context, guild_id: Optional[int async def setup(bot: DiscordBot) -> None: - await bot.add_cog(Birthday(bot)) \ No newline at end of file + await bot.add_cog(Birthday(bot))