Commit 0f3c0a82 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 🏢
Browse files

fix arguments for cookies command

parent 3354052f
......@@ -414,8 +414,8 @@ You can pass `--force` to the command to make me do it anyway."""
resp.set_msgtype( "m.emote" )
self._bot.send_message( resp )
@arg_botcmd('user', default=None, type=str)
def cookies(self, msg, args, user=None):
@arg_botcmd('--user', default=None, type=str)
def cookies(self, msg, user=None):
if not user:
user = msg.frm._id
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment