diff --git a/hlna_discord_bot.py b/hlna_discord_bot.py new file mode 100644 index 0000000..9bf4839 --- /dev/null +++ b/hlna_discord_bot.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3 +import discord +from discord.ext import commands + +config = { + 'token': 'your-token', + 'prefix': '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'])