Created
September 16, 2017 14:44
-
-
Save Roxxers/0bb68c341f686b8a70cbe3ed5489a573 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
from discord.ext.commands import Bot | |
bot = Bot(command_prefix="=") | |
@bot.event | |
async def on_ready(): | |
print("Ready innit") | |
@bot.event | |
async def on_reaction_add(reaction, user): | |
if user.id == "142735312626515979" : | |
if reaction.custom_emoji: | |
url = reaction.emoji.url | |
await bot.send_message(reaction.message.channel, url) | |
token = | |
bot.run(token) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment