CloudBot
CloudBot copied to clipboard
Issue in remind.py
https://github.com/CloudBotIRC/CloudBot/blob/1.0.8/plugins/remind.py#L99
Not enough arguments to call add_reminders(). I can't look at it now but wanted to report it before I forgot.
[17:11:16] [ERROR] Error in hook remind:check_reminders Traceback (most recent call last): File "/home/user/CloudBot/cloudbot/plugin.py", line 378, in _execute_hook out = yield from self._execute_hook_sync(hook, event) File "/home/user/CloudBot/cloudbot/plugin.py", line 357, in _execute_hook_sync return (yield from hook.function(*parameters)) File "/home/user/CloudBot/plugins/remind.py", line 99, in check_reminders yield from add_reminder(async, db, network, remind_time, user) TypeError: add_reminder() missing 3 required positional arguments: 'message', 'remind_time', and 'added_time' ERROR:cloudbot:Error in hook remind:check_reminders Traceback (most recent call last): File "/home/user/CloudBot/cloudbot/plugin.py", line 378, in _execute_hook out = yield from self._execute_hook_sync(hook, event) File "/home/user/CloudBot/cloudbot/plugin.py", line 357, in _execute_hook_sync return (yield from hook.function(*parameters)) File "/home/user/CloudBot/plugins/remind.py", line 99, in check_reminders yield from add_reminder(async, db, network, remind_time, user) TypeError: add_reminder() missing 3 required positional arguments: 'message', 'remind_time', and 'added_time'