diff options
author | Roman Gräf <romangraef@loves.dicksinhisan.us> | 2020-09-05 23:19:39 +0200 |
---|---|---|
committer | Roman Gräf <romangraef@loves.dicksinhisan.us> | 2020-09-05 23:19:39 +0200 |
commit | 2b10e99265f816f34e8530bac6b88a4ebf05b7f7 (patch) | |
tree | 1fcfc6edc27a646f6b1323505365f160e52968c9 /bot/bot.py | |
download | discord-bootstrap-master.tar.gz discord-bootstrap-master.tar.bz2 discord-bootstrap-master.zip |
Diffstat (limited to 'bot/bot.py')
-rw-r--r-- | bot/bot.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bot/bot.py b/bot/bot.py new file mode 100644 index 0000000..4e1c884 --- /dev/null +++ b/bot/bot.py @@ -0,0 +1,17 @@ +from discord.ext import commands + +from bot.config import Config + +bot = commands.Bot(command_prefix=commands.when_mentioned_or('!')) + +name = "Bot Name" +description = "Bot Description" + + +@bot.command() +async def hello(ctx: commands.Context): + await ctx.send('Hello, World') + + +def main(): + bot.run(Config.token) |