1
0
mirror of https://gitlab.com/MisterBiggs/multi-bot-tutorial.git synced 2025-06-16 07:06:51 +00:00

added about function to give info on the bot

This commit is contained in:
Anson 2019-08-27 14:59:58 -07:00
parent be22abcf0d
commit d1b2f2a079

View File

@ -95,3 +95,22 @@ def roadster():
print("error")
return data
def about():
"""
Just returns information about the bot.
"""
return {
"description": "This is a simple bot used to demonstrate how to easily port the same bot to multiple platforms such as Discord and Telegram",
"functions": [
(
"roadster",
"Provides simple information about the Tesla Roadster launched into space by Elon Musk as a dummy payload to test the Falcon Heavy Rocket",
),
("launch", "Provides details on the next rocket launch happening."),
],
"repo": "https://gitlab.com/MisterBiggs/multi-bot-tutorial",
"blogPost": "https://blog.ansonbiggs.com/",
}