I was trying to figure out how to fix the problem. It didn't print anything nor sent a DM.
Code:
async def on_dbl_vote(self, ctx, data):
print("Received an upvote:")
await ctx.author.send(f"hey {ctx.author.name}, thanks for voting!")
I was trying to figure out how to fix the problem. It didn't print anything nor sent a DM.
Code:
async def on_dbl_vote(self, ctx, data):
print("Received an upvote:")
await ctx.author.send(f"hey {ctx.author.name}, thanks for voting!")
To do this you should be doing user.send while ctx.author.send would just send it to the author of a message which is not specified