import discord from discord.ext import commands TOKEN = "NzU0NzIwNjcxNTE4Njg3MzIy.X142Zg.zf_YgrBO9qVbwZVvWVprCRaxzZI" bot = commands.Bot(command_prefix='%') @bot.event async def on_ready(): print("ready ass") bot.remove_command('help') @bot.command() async def ownedappend(ctx, *, emote): if ctx.author.id in {133218314469113857}: await ctx.message.delete() f = open("owned.txt", "w") f.write(f"\n{emote}") await ctx.send("ok") bot.run(TOKEN)