From e3a8453248c7ad8c09a33048b87d42593013563a Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 27 Sep 2020 21:39:40 +0200 Subject: Initial commit --- .gitignore | 1 + bot.py | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 bot.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/bot.py b/bot.py new file mode 100644 index 0000000..7a794c6 --- /dev/null +++ b/bot.py @@ -0,0 +1,20 @@ +import discord +from discord.ext import commands + +BOT_NAME = "Cupido" + +client = discord.Client() +bot = commands.Bot(command_prefix='!<3') + + +@client.event +async def on_ready(): + print('{0} is logged in as {1.user}'.format(BOT_NAME, client)) + + +@bot.command() +async def init(ctx): + pass + + +client.run('token') -- cgit v1.2.3