import discord from discord.ext import commands config = { 'token': 'MTEzNTU5NzMwMTIxNDIyNDQ2NA.GEKXfh.Yua9UadqQeE8BYNI0aaqI0AmI3pC_GMeI7CiJ0', 'prefix': '!', } bot = commands.Bot(command_prefix=config['prefix']) @bot.event async def on_message(ctx): if ctx.author != bot.user: await ctx.reply(ctx.content) bot.run(config['token'])