diff --git a/src/complements_bot/bot.py b/src/complements_bot/bot.py index 90a6acb..0228e22 100644 --- a/src/complements_bot/bot.py +++ b/src/complements_bot/bot.py @@ -745,9 +745,8 @@ async def setchance_h(self, ctx: commands.Context) -> Optional[str]: return to_send assert chance - to_send = f"@{channel} complement chance set to {chance}!" await database.set_complement_chance(chance, channel, name_to_id=self.name_to_id) - return to_send + return f"@{channel} complement chance set to {chance}!" @commands.command(aliases=["disablecommandcomplement", "disablecommandcomp", "disablecmdcomp"]) async def disablecmdcomplement(self, ctx: commands.Context) -> None: @@ -860,7 +859,7 @@ async def addcomplement_h(self, ctx: commands.Context) -> Optional[str]: f"{ComplementsBot.MAX_COMPLEMENT_LENGTH} characters long." await database.add_complement(complement, user, name_to_id=self.name_to_id) - return f"@{user} new complements added: '{complement}'" + return f"@{user} new complement added: '{complement}'" @commands.command(aliases=["listcomps"]) async def listcomplements(self, ctx: commands.Context) -> None: