import discord
from discord.ext import commands
from cogs.utils.dataIO import dataIO
from .utils import checks
from __main__ import send_cmd_help
# Sys
import asyncio
import aiohttp
import time
import random
import os
import sys

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

    @commands.command(pass_context=True)
    async def hug(self, context, int, member: discord.Member):
        """Hug People!"""
        author = context.message.author.mention
        mention = member.mention
        
        hug = "**{0} gave {1} a hug!**"
        
        choices = ['http://i.imgur.com/sW3RvRN.gif', 'http://i.imgur.com/gdE2w1x.gif', 'http://i.imgur.com/zpbtWVE.gif', 'http://i.imgur.com/ZQivdm1.gif', 'http://i.imgur.com/MWZUMNX.gif', 'https://m.popkey.co/fca5d5/bXDgV.gif', 'http://gifimage.net/wp-content/uploads/2017/01/Anime-hug-GIF-Image-Download-24.gif', 'https://i.imgur.com/2WywS3T.gif']
        
        image = random.choice(choices)
        
        embed = discord.Embed(description=hug.format(author, mention), colour=0xffa500())
        embed.set_image(url=image)

        await self.bot.say(embed=embed)

def setup(bot):
    n = Hug(bot)
    bot.add_cog(n)

@@ -52,556 +52,125 @@
 rom 
-cogs.utils.dataIO import dataIO%0D%0Afrom .utils import checks%0D%0Afrom __main__ import send_cmd_help%0D%0A# Sys%0D%0Aimport asyncio%0D%0Aimport aiohttp%0D%0Aimport time%0D%0Aimport random%0D%0Aimport os%0D%0Aimport sys%0D%0A%0D%0Aclass Hug:%0D%0A    def __init__(self, bot):%0D%0A        self.bot = bot%0D%0A%0D%0A    @commands.command(pass_context=True)%0D%0A    async def hug(self, context, int, member: discord.Member):%0D%0A        %22%22%22Hug People!%22%22%22%0D%0A        author = context.message.author.mention%0D%0A        mention = member.mention%0D%0A        %0D%0A        hug = %22**%7B0%7D gave %7B1%7D a hug!**%22%0D%0A        %0D%0A        choices
+random import choice as rndchoice%0D%0Afrom .utils.dataIO import fileIO%0D%0Afrom .utils import checks%0D%0Aimport os%0D%0A%0D%0Amemelist
  = %5B
@@ -505,66 +505,297 @@
 '%5D%0D%0A
-        %0D%0A        image = random.choice(choices)%0D%0A        
+%0D%0Aclass Hug:%0D%0A    %22%22%22Hug People.%22%22%22%0D%0A    def __init__(self, bot) :%0D%0A        self.bot = bot%0D%0A%0D%0A    @commands.command()%0D%0A    async def hug(self, ctx, **, user: discord.Member=None):%0D%0A        user = ctx.message.author%0D%0A        botname = self.bot.user.name%0D%0A        memed = rndchoice(memelist)
 %0D%0A  
@@ -800,21 +800,23 @@
         
+m
 em
-bed
+eimg
  = disco
@@ -840,42 +840,54 @@
 ion=
-hug.format(author, mention)
+%22**%22 + user + %22has recieved a hug!%22 %22**%22
 , colo
-u
 r=0x
@@ -892,18 +892,16 @@
 0xffa500
-()
 )%0D%0A     
@@ -903,21 +903,23 @@
         
+m
 em
-bed
+eimg
 .set_ima
@@ -929,16 +929,14 @@
 url=
-image)%0D%0A
+memed)
 %0D%0A  
@@ -970,14 +970,18 @@
 bed=
+m
 em
-bed)
+eimg)%0D%0A
 %0D%0A%0D%0A
@@ -1001,26 +1001,8 @@
 ):%0D%0A
-    n = Hug(bot)%0D%0A
     
@@ -1017,8 +1017,17 @@
 cog(
-n)
+Hug(bot))%0D%0A
 %0D%0A

Update hug.py