diff options
-rw-r--r-- | __main__.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/__main__.py b/__main__.py new file mode 100644 index 000000000..cb4157707 --- /dev/null +++ b/__main__.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 + +import discord +from discord.ext import commands +import os + +bot = commands.Bot(command_prefix=commands.when_mentioned_or( + os.environ.get("BOT_PREFIX"))) + + +async def ping(ctx): + await ctx.send("Pong.") + +bot.run(os.environ.get("BOT_TOKEN")) |