Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Updated examples | b7dd5285bf52883a01339df401091749df97f856 | Detche | 2016-12-03 11:34:31 |
Fixed trigger change method | 69251e3588123264763e72e0d75e24f6efabac21 | Detche | 2016-12-01 15:36:51 |
Reverted to Python 3.4 asyncio syntax. | 43f7209ba91a14f6e6ac1f9727542c2184660399 | Detche | 2016-12-01 15:05:40 |
Fixed reaction on discord reactions. | 8ee16b5e61d096d1905643cec4da05e7714ed75c | Detche | 2016-11-29 16:41:56 |
Fixed log error on leave(). | cde179a63badbfdfd17a345886214e1d2b0a1e54 | Detche | 2016-11-29 15:44:53 |
Bot now prints in a log file if given at initialization | e13bd3dbb86d1bb6f072f751412e89d444d870f3 | Detche | 2016-11-29 15:38:18 |
Updated example. | e95d1599676ae10b950b2c069e666060005627cf | Detche | 2016-11-13 19:52:41 |
Added scheduler to task core. Modified comm for new event. | ed51d5d18684dabdb17675294727ad5e8b8af454 | Detche | 2016-11-13 19:44:05 |
Started adding possibility to save in database. | cf28a7731335cd1ffd2ebd03cc2e890c25e1c64b | Detche | 2016-11-13 19:43:21 |
Changed db interface and users/groups models. | d0fdf8873a107c44d6acbef5cbffc869461d9aab | Detche | 2016-11-03 15:22:10 |
Changed UserId from element to attribute. | 5407592cba9e7488519e069927a8ffb9ed32fdf6 | Detche | 2016-11-02 15:02:30 |
Added tasks system. | 13bbf9857a0a61d5e2b0fd9483f5efd235cbd4f2 | Detche | 2016-11-02 14:58:20 |
Modified Knowledge process. Fixed indent | 28e52095a297cbb0e6b9b6d799bb80ebe52828c1 | Detche | 2016-10-23 12:11:30 |
Updated README | 8e298151286ec3cb4df29633aaca90fc871f2e80 | Detche | 2016-10-23 10:10:45 |
Update README.rst | 7965df28cbef557fd3819919b4d44f0733dcecf0 | Guillaume | 2016-10-23 00:06:05 |
Added README page | 8339ac5b13803b026dbfc5edd77fa50a24a70ecb | Detche | 2016-10-22 23:47:05 |
Added comments to sources. | ce6491ef1337ea34d33b7e4ede0eb9f634e7ab1a | Detche | 2016-10-22 23:32:26 |
Added examples. Modified reaction class to add triggers. | 545a35d1c5bb36e1b4e4d818b0e6a8f6642a222f | Detche | 2016-10-22 20:56:54 |
Initial commit | 2cd79df6224290a994b1453f0327740816b0f632 | Detche | 2016-10-21 16:21:02 |
File | Lines added | Lines deleted |
---|---|---|
examplebot/reactions/EMPTY.py.example | 2 | 0 |
examplebot/reactions/HELP.py.example | 2 | 0 |
examplebot/reactions/sayhi.py | 1 | 0 |
examplebot/tasks/EMPTY.py.example | 2 | 0 |
File examplebot/reactions/EMPTY.py.example changed (mode: 100644) (index 0d1fb9f..e73dc08) | |||
1 | import asyncio | ||
2 | |||
1 | 3 | import discord | import discord |
2 | 4 | ||
3 | 5 | from botly.reaction import ReactionBase | from botly.reaction import ReactionBase |
File examplebot/reactions/HELP.py.example changed (mode: 100644) (index f25c3a0..b92d0b7) | |||
1 | import asyncio | ||
2 | |||
1 | 3 | import discord | import discord |
2 | 4 | ||
3 | 5 | from botly.reaction import ReactionBase | from botly.reaction import ReactionBase |
File examplebot/reactions/sayhi.py changed (mode: 100644) (index 77b064a..0be3979) | |||
1 | 1 | #!/usr/bin/env python | #!/usr/bin/env python |
2 | 2 | """Reaction: Bot will respond to hello messages based on user affinity.""" | """Reaction: Bot will respond to hello messages based on user affinity.""" |
3 | 3 | ||
4 | import asyncio | ||
4 | 5 | import discord | import discord |
5 | 6 | ||
6 | 7 | from botly.reaction import ReactionBase | from botly.reaction import ReactionBase |
File examplebot/tasks/EMPTY.py.example changed (mode: 100644) (index 74f7dca..2ecdd6d) | |||
1 | import asyncio | ||
1 | 2 | from datetime import time | from datetime import time |
2 | 3 | ||
3 | 4 | import discord | import discord |
... | ... | class Task(botly.task.TaskBase): | |
13 | 14 | # or | # or |
14 | 15 | #self.set_schedule(botly.task.DAYS_WEEKDAYS, time(hour=8)) | #self.set_schedule(botly.task.DAYS_WEEKDAYS, time(hour=8)) |
15 | 16 | ||
17 | @asyncio.coroutine | ||
16 | 18 | def do(self): | def do(self): |
17 | 19 | # Do task action here | # Do task action here |
18 | 20 |