Skip to content

Commit

Permalink
refactor: remove unnecessary f-string
Browse files Browse the repository at this point in the history
It is wasteful to use `f-string` mechanism if there are no expressions to be extrapolated. It is recommended to use regular strings instead.
  • Loading branch information
deepsource-autofix[bot] authored Mar 1, 2024
1 parent 894c036 commit 15eaea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async def on_ready(self):
Event handler for when the bot is ready.
"""
activity = disnake.Activity(
type=disnake.ActivityType.listening, name=f"your commands"
type=disnake.ActivityType.listening, name="your commands"
)
await self.change_presence(activity=activity, status=disnake.Status.online)

Expand Down

0 comments on commit 15eaea1

Please sign in to comment.