This friendly bot will link to the online version of the man page for most (if not all) Linux API functions. The mapping is created from Michael Kerrisk's fantastic man-pages project; it's generated from this list.
The bot will respond with a link if it is explicitly mentioned with a message
matching the pattern man [function]
, or a direct mention with the function
name, as in @man [function]
without anything else. If the function is found,
it responds with the link; if it isn't, the bot will let you know. :)
user [03:40]
@man give man sem_overview, please?
Man Bot APP [03:40]
sem_overview
: http://man7.org/linux/man-pages/man7/sem_overview.7.html
user [03:41]
@man sleep
Man Bot APP [03:41]
sleep
: man7.org/linux/man-pages/man3/sleep.3p.html
This project was hacked together over the course of a few hours. It's licensed to all under the WTF public license.
There are some additional functions used exclusively for trolling and inside
jokes in some of my Slack workspaces. You can disable them by toggling the
TROLLING
flag in views.py
.