refactor(bot): ♻️ Replace % with , in logging calls.

This commit is contained in:
Nyeki.py
2024-10-27 01:47:05 -03:00
parent 09d2808bd4
commit 85a437e3e6
3 changed files with 24 additions and 28 deletions
+4 -4
View File
@@ -24,7 +24,7 @@ from payphone.core import (
formatting,
help_command,
config,
logging
logging,
)
@@ -84,7 +84,7 @@ class Payphone(commands.AutoShardedBot):
await self.redis.ping()
self.log.info("Ready! Logged in as %s." % self.user.display_name)
self.log.info("Ready! Logged in as %s.", self.user.display_name)
async def on_shard_ready(self, shard_id: int) -> None:
"""Sets the activity for the shard.
@@ -101,7 +101,7 @@ class Payphone(commands.AutoShardedBot):
shard_id=shard_id,
)
self.log.info("Shard %s is ready!" % shard_id)
self.log.info("Shard %s is ready!", shard_id)
async def on_shard_resumed(self, shard_id: int) -> None:
"""Sets the activity for the shard.
@@ -118,7 +118,7 @@ class Payphone(commands.AutoShardedBot):
shard_id=shard_id,
)
self.log.info("Shard %s was resumed!" % shard_id)
self.log.info("Shard %s was resumed!", shard_id)
async def get_or_fetch_channel(
self, channel_id: int