import discord
from discord.ext import commands
from .utils import checks
from __main__ import send_cmd_help

import asyncio


class misc:
	"""Misc commands"""

	def __init__(self, bot):
		self.bot = bot

	@commands.command(hidden=True)
	async def summon(self):
		await self.bot.say("Who dares summon me?")

	async def rename_orun(self, ):
		while self is self.bot.get_cog("misc"):
			user_id = 202429404503212034
			user_id = str(user_id)
			server = str(server)
			server = 294578270064869377
			user = server.get_member(orun_id)
			nickname = "Orun"
			try:
				await self.bot.change_nickname(user, nickname)
			except discord.Forbidden:
				print("I cannot do that, I lack the "
								"\"Manage Nicknames\" permission.")
			await asyncio.sleep(30)

def setup(bot):
	n = misc(bot)
	loop = asyncio.get_event_loop()
	loop.create_task(n.rename_orun())
	bot.add_cog(n)
@@ -388,16 +388,17 @@
 er_id = 
+%22
 20242940
@@ -411,58 +411,9 @@
 2034
-%0A%09%09%09user_id = str(user_id)%0A%09%09%09server = str(server)
+%22
 %0A%09%09%09
@@ -421,16 +421,17 @@
 erver = 
+%22
 29457827
@@ -440,16 +440,17 @@
 64869377
+%22
 %0A%09%09%09user
@@ -470,20 +470,20 @@
 _member(
-orun
+user
 _id)%0A%09%09%09

reorganize code