noteid: fix a bug where it wouldn't work

This commit is contained in:
Ave Ozkal 2020-02-03 20:18:30 +03:00
parent 2055a63eec
commit 40570ee112
No known key found for this signature in database
GPG key ID: 398DD7BD03276F6D

View file

@ -25,7 +25,7 @@ class ModNote(Cog):
"""Adds a note to a user by userid, staff only.""" """Adds a note to a user by userid, staff only."""
userlog(target, ctx.author, note, userlog(target, ctx.author, note,
"notes") "notes")
await ctx.send(f"{target.mention}: noted!") await ctx.send(f"{ctx.author.mention}: noted!")
def setup(bot): def setup(bot):