Fixed typo + forgot variable
This commit is contained in:
@@ -100,7 +100,7 @@ def adminnotes_command(sender, args):
|
|||||||
# Deletes note by index
|
# Deletes note by index
|
||||||
del notes[note_id]
|
del notes[note_id]
|
||||||
save_notes()
|
save_notes()
|
||||||
msg(sender, "&aSuccessfully delete note #%s!" % str(note_id+1))
|
msg(sender, "&aSuccessfully deleted note #%s!" % str(note_id+1))
|
||||||
return
|
return
|
||||||
|
|
||||||
message = " ".join(args)
|
message = " ".join(args)
|
||||||
@@ -118,7 +118,7 @@ def adminnotes_command(sender, args):
|
|||||||
notes.append([name, message, time.time()])
|
notes.append([name, message, time.time()])
|
||||||
save_notes()
|
save_notes()
|
||||||
msg(sender, "&eNew note:&6 "+message)
|
msg(sender, "&eNew note:&6 "+message)
|
||||||
broadcast(an_permission, "&a%s just added a new note! &2Type /an")
|
broadcast(an_permission, "&a%s just added a new note! &2Type /an" % name)
|
||||||
except:
|
except:
|
||||||
print(print_traceback())
|
print(print_traceback())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user