h/plugins/profile.py

12 lines
267 B
Python
Raw Normal View History

# for crusty old rotor
from util import hook
@hook.command
def profile(inp):
".profile <username> -- links to <username>'s profile on SA"
2010-08-30 03:35:27 +00:00
return 'http://forums.somethingawful.com/member.php?action=getinfo' + \
2014-01-14 21:12:37 +00:00
'&username=' + '+'.join(inp.split())