mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-01 07:51:08 -05:00
FML: prefix output with [FML] when showInfo is disabled
This commit is contained in:
parent
b010141dd5
commit
0eb99bf2d5
@ -82,7 +82,7 @@ class FML(callbacks.Plugin):
|
||||
tree.find('deserved').text))
|
||||
|
||||
if not self.registryValue("showInfo", msg.args[0]):
|
||||
s = format('%s - %s', text, votes)
|
||||
s = format('\x02[FML]\x02 %s - %s', text, votes)
|
||||
else:
|
||||
s = format('\x02#%i [%s]\x02: %s - %s %u', fmlid,
|
||||
category, text, votes, url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user