Commit Graph

55 Commits

Author SHA1 Message Date
27f202de37 Only pass messages when summoned 2021-01-16 13:17:55 +01:00
ad3d77f5e1 Merge command functions once more 2021-01-16 13:14:42 +01:00
b1b9c0e701 Use new indentation style 2021-01-16 13:09:41 +01:00
aa64a1a68e Support @ commands for direct messages 2021-01-16 13:05:53 +01:00
fd2134f914 Fix up help formatting 2021-01-16 13:05:30 +01:00
d209ffdefd Fix log level 2021-01-16 12:50:29 +01:00
17773e9b86 Add nick to logging 2021-01-16 12:50:08 +01:00
4949044377 Revise help for new command syntax 2021-01-16 12:34:26 +01:00
56e37809ba Pass on flow for end-user defined commands 2021-01-16 12:30:59 +01:00
313ec0dfa5 Handle empty glossary correctly 2021-01-16 12:30:37 +01:00
deeeaffd77 Send to room 2021-01-16 12:30:19 +01:00
f3b9010542 Add punctuation 2021-01-16 12:29:37 +01:00
c1c778af66 Don't log since end-user might have implemented 2021-01-15 21:21:07 +01:00
7dd96a9f30 Handle group chats 2021-01-15 21:18:20 +01:00
542627cb5e First stab at glossbot 2021-01-15 21:14:54 +01:00
086ccd8357 Remove command usage 2021-01-15 21:14:38 +01:00
d589f6cd7e Fix logging 2021-01-15 21:14:28 +01:00
af292c45bf Implement storage with Redis
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/21.
2021-01-15 21:14:04 +01:00
ece7da4055 Remove f 2021-01-15 15:51:21 +01:00
3e83a9390b !bots -> /bots 2021-01-15 15:05:49 +01:00
00a3c67ee5 Fix wording 2021-01-15 14:42:17 +01:00
25d740ed27 Remove newline 2021-01-15 14:42:11 +01:00
2bb47e6f86 Add bots command 2021-01-15 14:42:02 +01:00
82f6ba0681 Log when no conf file found 2021-01-15 14:32:01 +01:00
5e43ee8a46 Remove unused import 2021-01-15 13:01:31 +01:00
a2e7d328f9 Log errors when we get them 2021-01-15 12:57:25 +01:00
78581dcf2f Support avatars
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/17.
2021-01-15 11:08:07 +01:00
a463aa91f1 Support commands
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/12.
2021-01-14 23:45:23 +01:00
d8bbacc258 Use logger 2021-01-14 22:44:48 +01:00
aabe1fa683 bot.conf -> $name.conf
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/3.
2021-01-14 22:36:03 +01:00
5b43a2cde2 Arrange precedence of config loading
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/14.
2021-01-14 22:26:13 +01:00
fbd72b55fe Don't explode when function doesn't get implemented
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/18.
2021-01-14 19:34:13 +01:00
87ada3e79d Remove old function 2021-01-14 19:18:41 +01:00
11692ab64f Add logger to class 2021-01-14 19:18:27 +01:00
d559525bf6 Support logging
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/2.
2021-01-13 23:19:06 +01:00
1bbbbf9159 Support invites 2021-01-13 22:49:52 +01:00
e3282a89bc Use direct/group API
Closes https://git.autonomic.zone/decentral1se/xbotlib/issues/13.
2021-01-13 21:56:45 +01:00
cf93c07294 Revert to sender attribute as more clear now 2021-01-13 14:51:23 +01:00
deca260a67 Add room attribute 2021-01-13 14:42:26 +01:00
1137624180 Make EchoBot support group chats 2021-01-13 14:31:00 +01:00
e0c8583b2d Rename to use source (and fix typo) 2021-01-13 14:30:46 +01:00
6272ac9475 Move example bots internally 2021-01-13 14:08:44 +01:00
1a88f7049b Rename message class 2021-01-13 14:00:59 +01:00
f909d43c59 Handle missing optional variables 2021-01-12 22:04:29 +01:00
4f6f102d1e Read config from environment and use argparse
Related to https://git.autonomic.zone/decentral1se/xbotlib/issues/7.
2021-01-12 21:39:50 +01:00
bca6e6c90a Change reply to accept body argument first 2021-01-10 19:41:56 +01:00
eb87de7de5 Provide a base react function and error out 2021-01-10 19:29:34 +01:00
18bae6ec09 Refine API for replying 2021-01-10 19:17:10 +01:00
aefcfbab9c Docs docs docs 2021-01-10 16:51:20 +01:00
9767c7337e Manage DM and group chat 2021-01-10 16:31:17 +01:00