Please sign in to comment.
camptail: automagically pass arguments to callback functions
A callback like "foo" is pointless. It will call the foo function, but not pass any arguments, so the result can't have any information about the message or room we are processing. Instead, let's convert it into "foo(@_)". This means you can define some pre-made callbacks in your rc file, and then use them like "camptail --callback=foo".
- Loading branch information...