text: import os, sys, discord, random, asyncio
  from discord.ext import commands
  
  if not os.path.isfile("config.py"):
      sys.exit("'config.py' not found! Please add it and try again.")
  else:
      import config
  
  class Fun(commands.Cog, name="fun"):
      def __init__(self, bot):
          self.bot = bot
  
      @commands.command(name="dick")
      async def dick(self, context, member : discord.Member = None):
          """
          Get the dick's length of a user or yourself.
          """
          if not member:
              member = context.author
          length = random.randrange(15)
          embed = discord.Embed(description=f"8{'='*length}D", color=config.main_color)
          embed.set_author(name=f"{member.display_name}'s Dick", icon_url=member.avatar_url)
          await context.send(embed=embed)
  
      @commands.command(name="rps")
      async def rock_paper_scissors(self, context):
          choices = {
              0 : "rock",
              1 : "paper",
              2 : "scissors"
          }
          reactions = {
              "🪨" : 0,
              "🧻" : 1,
              "✂" : 2
          }
          embed = discord.Embed(title="Please choose", color=config.warning)
          embed.set_author(name=context.author.display_name, icon_url=context.author.avatar_url)
          choose_message = await context.send(embed=embed)
          for emoji in reactions:
              await choose_message.add_reaction(emoji)
  
          def check(reaction, user):
              return user == context.message.author and str(reaction) in reactions
          try:
              reaction, user = await self.bot.wait_for("reaction_add", timeout=10, check=check)
  
              user_choice_emote = reaction.emoji
              user_choice_index = reactions[user_choice_emote]
  
              bot_choice_emote = random.choice(list(reactions.keys()))
              bot_choice_index = reactions[bot_choice_emote]
  
              result_embed = discord.Embed(color=config.success)
              result_embed.set_author(name=context.author.display_name, icon_url=context.author.avatar_url)
              await choose_message.clear_reactions()
  
              if user_choice_index == bot_choice_index:
                  result_embed.description = f"**That's a draw!**\nYou've chosen {user_choice_emote} and I've chosen {bot_choice_emote}."
                  result_embed.colour = config.warning
              elif user_choice_index == 0 and bot_choice_index == 2:
                  result_embed.description = f"**You won!**\nYou've chosen {user_choice_emote} and I've chosen {bot_choice_emote}."
                  result_embed.colour = config.success
              elif user_choice_index == 1 and bot_choice_index == 0:
                  result_embed.description = f"**You won!**\nYou've chosen {user_choice_emote} and I've chosen {bot_choice_emote}."
                  result_embed.colour = config.success
              elif user_choice_index == 2 and bot_choice_index == 1:
                  result_embed.description = f"**You won!**\nYou've chosen {user_choice_emote} and I've chosen {bot_choice_emote}."
                  result_embed.colour = config.success
              else:
                  result_embed.description = f"**I won!**\nYou've chosen {user_choice_emote} and I've chosen {bot_choice_emote}."
                  result_embed.colour = config.error
                  await choose_message.add_reaction("🇱")
              await choose_message.edit(embed=result_embed)
          except asyncio.exceptions.TimeoutError:
              await choose_message.clear_reactions()
              timeout_embed = discord.Embed(title="Too late", color=config.error)
              timeout_embed.set_author(name=context.author.display_name, icon_url=context.author.avatar_url)
              await choose_message.edit(embed=timeout_embed)
  
  def setup(bot):
      bot.add_cog(Fun(bot))