Remove unused service list
This commit is contained in:
parent
18397bbe15
commit
7580516dff
1 changed files with 0 additions and 3 deletions
|
@ -16,7 +16,6 @@ class Module(object):
|
||||||
_name = "NR"
|
_name = "NR"
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
self.result_map = {}
|
|
||||||
bot.events.on("received").on("command").on("nrtrains"
|
bot.events.on("received").on("command").on("nrtrains"
|
||||||
).hook(self.arrivals, min_args=1,
|
).hook(self.arrivals, min_args=1,
|
||||||
help="Get train information for a station (Powered by NRE)",
|
help="Get train information for a station (Powered by NRE)",
|
||||||
|
@ -107,8 +106,6 @@ class Module(object):
|
||||||
train_dest_plat.append((train["dest_name"] + train["via"], train["platform"]))
|
train_dest_plat.append((train["dest_name"] + train["via"], train["platform"]))
|
||||||
trains_filtered.append(train)
|
trains_filtered.append(train)
|
||||||
|
|
||||||
self.result_map[event["target"].id] = trains_filtered
|
|
||||||
|
|
||||||
trains_string = ", ".join(["%s (%s, %s, %s%s%s)" % (t["dest_via"], t["uid"], t["platform"],
|
trains_string = ", ".join(["%s (%s, %s, %s%s%s)" % (t["dest_via"], t["uid"], t["platform"],
|
||||||
Utils.color(colours[t["status"]]),
|
Utils.color(colours[t["status"]]),
|
||||||
t["time"],
|
t["time"],
|
||||||
|
|
Loading…
Reference in a new issue