Created
October 26, 2018 15:10
-
-
Save Kaleidosium/72ff786e364cb7fc38b37a292f3497e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
TOKEN = '' #removed because i don't want to spoil my tokens | |
client = discord.Client() | |
@client.event | |
async def on_message(message): | |
# don't want the bot to reply to itself | |
if message.author == client.user: | |
return | |
msg_contents = message.contents.lower() | |
if message.content.include("more callie") | |
msg = ' https://pli.io/25k79O.jpg {0.author.mention}'.format(message) | |
await client.send_message(message.channel, msg) | |
@client.event | |
async def on_ready(): | |
print('Logged in as') | |
print(client.user.name) | |
print(client.user.id) | |
print('------') | |
client.run(TOKEN) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment