bot icon indicating copy to clipboard operation
bot copied to clipboard

AttributeError: 'User' object has no attribute 'add_roles'

Open sentry-io[bot] opened this issue 2 years ago • 0 comments

Sentry Issue: BOT-1RG

AttributeError: 'User' object has no attribute 'add_roles'
  File "bot/utils/scheduling.py", line 117, in _await_later
    await asyncio.shield(coroutine)
  File "bot/exts/moderation/modpings.py", line 119, in add_role_schedule
    await mod.add_roles(self.moderators_role, reason="Moderator scheduled time started!")

Error in task #512354988157173763 140600535200432!

sentry-io[bot] avatar Dec 10 '21 09:12 sentry-io[bot]