aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Darth Delay <[email protected]>2019-02-19 21:01:01 +0100
committerGravatar Darth Delay <[email protected]>2019-02-19 21:01:01 +0100
commit4ecc50533d50b3986f4843d3395a1d771e283517 (patch)
tree9bb95d26465fc4daa1b4cfbb0ac2af0a7f30add3 /bot/constants.py
parentAdd LoveCalculator as in #96 (diff)
Add .who_is_valentine and .valentine_facts
Closes #102 This pull request adds the commands who_is_valentine and valentine_facts. The who_is_valentine command sends information about Saint Valentine of Terni to the channel the command has been called in. This is done by making use of the valentine_facts.json file's 'whois' attribute, which has all the information stored in it. The valentine_facts command sends a random fact with a random title to the channel the command has been called in. This is done by making use of the of the valentine_facts.json file's 'titles' and 'text' attribute, in which both, the information for the titles and the facts are stored in. Both commands do have docstrings, which explain what the command does in an easy manner. At the moment, there's a really sparse amount of facts available. I seek to add a lot more in the near future.
Diffstat (limited to 'bot/constants.py')
0 files changed, 0 insertions, 0 deletions