added mcpaid

This commit is contained in:
neersighted 2012-02-28 08:45:38 +08:00 committed by lukeroge
parent 5c09e0c0d1
commit 3cd2265531

7
plugins/mcpaid.py Normal file
View file

@ -0,0 +1,7 @@
from util import hook, http
@hook.command
def mcpaid(inp):
".mcpaid <username> -- checks if minecraft <username> has paid for the game"
return " ".join([x for x in http.get("http://www.minecraft.net/haspaid.jsp", user=inp).splitlines() if x])