Maybe fix ~~target?

This commit is contained in:
Alexander 2015-08-21 21:12:54 -04:00
parent 7b37667112
commit 5724706b6f

View file

@ -565,6 +565,4 @@ def target():
"""
Returns the current Spellbook target.
"""
target = spellbook.getTarget()
return 'Target: %s-%d [%d]' % (target.getName(), int(target.doId), int(target.getAdminAccess()))
return 'Your current target is: %s [avId: %s, access: %s]' % (spellbook.getTarget().getName(), spellbook.getTarget().doId, spellbook.getTarget().getAdminAccess())