From d1b2f2a0795020acc8521b93a7f60fd2731c950c Mon Sep 17 00:00:00 2001 From: Anson Date: Tue, 27 Aug 2019 14:59:58 -0700 Subject: [PATCH] added about function to give info on the bot --- functions.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/functions.py b/functions.py index 77c2ace..69ee436 100644 --- a/functions.py +++ b/functions.py @@ -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/", + } +