summaryrefslogtreecommitdiff
path: root/adminnotes.py
diff options
context:
space:
mode:
authorGap <l.uisv.gt@icloud.com>2015-01-14 18:35:47 +0100
committerGap <l.uisv.gt@icloud.com>2015-01-14 18:35:47 +0100
commit3f9e647e2571bdb8a8d38134633bc5253428b533 (patch)
tree03822622adfa46eac139d8de07b3105b343bb91a /adminnotes.py
parent8b5b90513ed505ef40bbdb554e0a12a9d60524e8 (diff)
Fixed typo + forgot variable
Diffstat (limited to 'adminnotes.py')
-rw-r--r--adminnotes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/adminnotes.py b/adminnotes.py
index e8b0a12..0a5bf03 100644
--- a/adminnotes.py
+++ b/adminnotes.py
@@ -100,7 +100,7 @@ def adminnotes_command(sender, args):
# Deletes note by index
del notes[note_id]
save_notes()
- msg(sender, "&aSuccessfully delete note #%s!" % str(note_id+1))
+ msg(sender, "&aSuccessfully deleted note #%s!" % str(note_id+1))
return
message = " ".join(args)
@@ -118,7 +118,7 @@ def adminnotes_command(sender, args):
notes.append([name, message, time.time()])
save_notes()
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:
print(print_traceback())