original_docstring: Move a class role up one.
docstring: Move a class role up one.
docstring_tokens: Move a class role up one .
code: async def _update_class_role(
          self, user: discord.Member, old_role: discord.Role, new_role: discord.Role
      ) -> None:
          """Move a class role up one."""
          await user.remove_roles(old_role, reason="Class Roles update.")
          await user.add_roles(new_role, reason="Class Roles update.")
          # await user.send(
          #     f"Your grade level role has been changed to {new_role.name}. "
          #     + "Have a great school year!"
          # )
          log.trace(f"{user} has been moved from {old_role} to {new_role}")
code_tokens: async def _update_class_role ( self , user : discord . Member , old_role : discord . Role , new_role : discord . Role ) -> None : await user . remove_roles ( old_role , reason = "Class Roles update." ) await user . add_roles ( new_role , reason = "Class Roles update." ) log . trace ( f"{user} has been moved from {old_role} to {new_role}" )
short_docstring: Move a class role up one.
short_docstring_tokens: Move a class role up one .
comment: """Move a class role up one."""$SEP$# await user.send($SEP$#     f"Your grade level role has been changed to {new_role.name}. "$SEP$#     + "Have a great school year!"$SEP$# )