import discord
from discord.ext import commands
from sys import argv
from subprocess import call

class botupdate:
    """
    Bot Updating Commands (Owners Only)
    """
    @commands.has_permissions(administrator=True)
    @commands.command(pass_context=True, name="pull")
    async def pull(self, ctx):
       """Pull from GitHub (Owner Only)"""
    call(['git', 'pull'])
    await bot.send_message(ctx.message.channel, "Changes pulled from Github :ok_hand:".format(ctx.command.name))

def setup(bot):
    bot.add_cog(botupdate(bot))

import discord
from discord.ext import commands
from sys import argv
from subprocess import call

class botupdate:
    """
    Bot Updating Commands (Owners Only)
    """
    @commands.has_permissions(administrator=True)
    @commands.command(pass_context=True, name="pull")
    async def pull(self, ctx):
       """Pull from GitHub (Owner Only)"""
    call(['git', 'pull'])
    self.bot.say("Changes pulled from GitHub :ok_hand:")

def setup(bot):
    bot.add_cog(botupdate(bot))

change send message cmd