First working version
This commit is contained in:
@@ -36,7 +36,7 @@ class GeneralCog(commands.Cog):
|
||||
author = ctx.message.author
|
||||
if target is None:
|
||||
response = "No one to pat..."
|
||||
else if target.capitalize == "Noel":
|
||||
elif target == "Noel":
|
||||
response = "NNN-GYAAAA!"
|
||||
else:
|
||||
response = f"{target.mention} got pat by {author.mention}"
|
||||
@@ -46,4 +46,4 @@ class GeneralCog(commands.Cog):
|
||||
|
||||
# COG ENDING
|
||||
def setup(bot):
|
||||
bot.add_cog(GeneralCog(bot))
|
||||
bot.add_cog(GeneralCog(bot))
|
||||
Reference in New Issue
Block a user