Include guild name in channel permissions messages
This commit is contained in:
parent
d58d56ff0e
commit
b9698fe213
@ -109,11 +109,13 @@ class ArkhamDBUpdater(discord.Client):
|
|||||||
) ^ expected_permissions
|
) ^ expected_permissions
|
||||||
if missing_permissions.value:
|
if missing_permissions.value:
|
||||||
logging.warning(
|
logging.warning(
|
||||||
f"channel: '{channel}' missing permissions: {missing_permissions}"
|
f"channel: {channel.guild} - {channel.name} missing permissions: {missing_permissions}"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
logging.info(f"channel '{channel}' permissions OK")
|
logging.info(f"channel {channel.guild} - {channel.name} permissions OK")
|
||||||
logging.debug(f"channel '{channel}' permissions: {dict(permissions)}")
|
logging.debug(
|
||||||
|
f"channel {channel.guild} - {channel.name} permissions: {dict(permissions)}"
|
||||||
|
)
|
||||||
|
|
||||||
await self.setup_commands()
|
await self.setup_commands()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user