Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Hal-9000-Chatbot/Links.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
18 lines (18 sloc)
1.77 KB
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
elif message.content == "Hal" or message.content == "hal": | |
await client.send_message(message.channel, "Yes?",tts=True) | |
elif message.content == ":joy:" or message.content == ":smile:": | |
await client.send_message(message.channel, ":ok_hand:",tts=True) | |
elif message.content == "Link me to google" or message.content == "google" or message.content == "Google": | |
await client.send_message(message.channel, "Here's the link to Google: https://www.google.co.uk/",tts=True) | |
elif message.content == "Can you redirect me to the university website?" or message.content == "link to coventry university": | |
await client.send_message(message.channel, "Sure. Just click on this link: https://www.coventry.ac.uk/",tts=True) | |
elif message.content == "LinkedIn" or message.content == "linkedin": | |
await client.send_message(message.channel, "Here's the link to LinkedIn: https://www.linkedin.com/",tts=True) | |
elif message.content == "GitHub" or message.content == "github": | |
await client.send_message(message.channel, "Here's the link to GitHub: https://github.coventry.ac.uk/",tts=True) | |
elif message.content == "Youtube" or message.content == "youtube": | |
await client.send_message(message.channel, "Here's the link to Youtube: https://www.youtube.com/",tts=True) | |
elif message.content == "Facebook" or message.content == "facebook": | |
await client.send_message(message.channel, "Here's the link to Facebook: https://www.facebook.com/",tts=True) | |
elif message.content == "Can you send me a website link?" or message.content == "can you send me a website link?": | |
await client.send_message(message.channel, "Of course. Which website link do you need?",tts=True) |