Abhijeet Kaur
f4c2ed486c
testsuite: Add tests for thesaurus bot in contrib_bots.
...
Add test file 'test_thesaurus.py'.
2017-05-28 17:12:11 -07:00
Abhijeet Kaur
9e653525cf
bots: Remove unwanted spaces from 'help_message' in thesaurus bot.
...
Remove unwanted spaces from the file contrib_bots/bots/thesaurus/thesaurus.py,
these spaces were being stripped while being written to
zulip console.
2017-05-28 17:12:11 -07:00
Elliott Jin
dd71daa09f
bots: Add __init__.py so bot modules can be imported.
2017-05-25 15:00:51 -07:00
Krzysztof Krzysztof
073468ebba
bots: Add empty message support in Wikipedia bot.
2017-05-24 19:23:36 -07:00
derAnfaenger
c6d294385f
bots: Refactor bots to use send_reply.
...
The send_reply function makes it easier for bots
to send messages. This commit updates all bots to
make use of this function, when possible.
2017-05-24 13:16:23 -07:00
Abhijeet Kaur
1b31a16d13
contrib bots: Better error handling response in thesaurus.
2017-03-14 13:29:19 -07:00
Abhijeet Kaur
9a8dc7c622
Remove triage_message() function from all the contrib-bots.
...
To make all bots consistent add shared function in bot_lib.py
to check if this bot is called. All bots respond to at-mention of
the bot instead of their specific names.
2017-02-17 06:51:48 -08:00
Robert Hönig
fefe869748
Restructure contrib_bots bots to new layout.
...
In order to make the layout of all bots consistent, this commit
moves each bot into a folder with its name and modifies 'run.py'
so that only bots with such a structure can be executed. 'lib'
gets renamed to 'bots'.
2017-01-22 05:42:46 -08:00