commit
d3d36891e7
2 changed files with 5 additions and 6 deletions
|
@ -7,6 +7,7 @@
|
||||||
"nick": "MyCloudBot",
|
"nick": "MyCloudBot",
|
||||||
"user": "cloudbot",
|
"user": "cloudbot",
|
||||||
"realname": "CloudBot - http://git.io/cloudbotirc",
|
"realname": "CloudBot - http://git.io/cloudbotirc",
|
||||||
|
"mode": "",
|
||||||
"nickserv_password": "",
|
"nickserv_password": "",
|
||||||
"nickserv_user": "",
|
"nickserv_user": "",
|
||||||
"channels": ["#cloudbot", "#cloudbot2"],
|
"channels": ["#cloudbot", "#cloudbot2"],
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
from util import hook, http
|
from util import hook, http
|
||||||
import csv
|
import csv
|
||||||
import time
|
|
||||||
import StringIO
|
import StringIO
|
||||||
|
|
||||||
gauge_url = "http://www.mysteamgauge.com/search?username={}"
|
gauge_url = "http://www.mysteamgauge.com/search?username={}"
|
||||||
|
@ -80,7 +79,6 @@ def steamcalc(inp, reply=None):
|
||||||
|
|
||||||
data["size"] = "{0:.1f}".format(total_size)
|
data["size"] = "{0:.1f}".format(total_size)
|
||||||
|
|
||||||
|
|
||||||
return "{name} ({state}) has {games} games with a total value of ${value}" \
|
return "{name} ({state}) has {games} games with a total value of ${value}" \
|
||||||
" and a total size of {size}GB! The average metascore for these" \
|
" and a total size of {size}GB! The average metascore for these" \
|
||||||
" games is {average_metascore}.".format(**data)
|
" games is {average_metascore}.".format(**data)
|
||||||
|
|
Reference in a new issue