Skip to content

Commit b09666a

Browse files
committed
[invoice] these should probably be warnings
1 parent f907ea2 commit b09666a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

invoice/invoice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,15 +522,15 @@ async def apply_permissions(
522522
try:
523523
await m.edit(roles=[discord.Object(id) for id in role_set])
524524
except discord.Forbidden:
525-
LOG.info("Unable to edit roles for %s in guild %s", m, guild)
525+
LOG.warning("Unable to edit roles for %s in guild %s", m, guild)
526526
LOG.debug("Before: %s\nAfter: %s", m._roles, role_set)
527527
stamp = True
528528
for channel_id, overs in channel_updates.items():
529529
if (channel := guild.get_channel(channel_id)) and channel.overwrites.get(m) != overs:
530530
try:
531531
await channel.set_permissions(m, overwrite=overs)
532532
except discord.Forbidden:
533-
LOG.info("Unable to edit channel permissions for %s in guild %s", m, guild)
533+
LOG.warning("Unable to edit channel permissions for %s in guild %s", m, guild)
534534
stamp = True
535535
if stamp:
536536
self.member_as[(m.guild.id, m.id)].stamp()

0 commit comments

Comments
 (0)