diff options
author | Dennis Kobert <dennis@kobert.dev> | 2020-09-27 21:39:40 +0200 |
---|---|---|
committer | Dennis Kobert <dennis@kobert.dev> | 2020-09-27 21:39:40 +0200 |
commit | e3a8453248c7ad8c09a33048b87d42593013563a (patch) | |
tree | c12ba9e781c1a7eeaa8ef9be8336dbb1e9e53d3a |
Initial commitpython
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | bot.py | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env @@ -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') |