File size: 355 Bytes
d8789fb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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']) |