From 002c61f74a3f24afbca34ca38e85eea854150677 Mon Sep 17 00:00:00 2001 From: Jason Le Long Date: Thu, 8 Mar 2018 14:03:05 +0000 Subject: Equipment rolls working as desired (fixed global commands) --- sassbot/modules/artifact2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sassbot/modules/artifact2.py') diff --git a/sassbot/modules/artifact2.py b/sassbot/modules/artifact2.py index 04c3db2..b0d2643 100644 --- a/sassbot/modules/artifact2.py +++ b/sassbot/modules/artifact2.py @@ -10,7 +10,7 @@ import EquipmentCreate def adventurersinc(phenny, input): #Variables - if input.sender.lower() == "#fromsteamland": + if input.sender.lower() == "#fromsteamland" or input.sender.lower() == "#artifact": strInputGroup = input.group().split(" ") try: strCmd1 = strInputGroup[1] @@ -27,6 +27,7 @@ def adventurersinc(phenny, input): parameters['LiveVersion'] = '2.0' parameters['Nick'] = input.nick + #Global Commands if strCmd1 == "git": phenny.say("Artifact v2 git: http://www.blatech.co.uk/JasonFS/Artifact-v2") elif strCmd1 == "version": -- cgit v1.2.3