refactor(bot): ♻️ Replace % with , in logging calls.
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user