Trying to fix Student Jon command

pull/2/head
sgoudham 4 years ago
parent 89f171a964
commit 70dcfd429b

@ -165,7 +165,7 @@ class Waifus(commands.Cog):
def displayServerImage(array, ctx, name): def displayServerImage(array, ctx, name):
if str(ctx.channel) in channels: if str(ctx.channel) in channels:
if name is 'studentjon': if name == 'studentjon':
# set member as the author # set member as the author
member = ctx.message.author member = ctx.message.author
userAvatar = member.avatar_url userAvatar = member.avatar_url

Loading…
Cancel
Save