Issue
Hello I wanna mention a specific member in my guild I know my code is a mess can you show me my mistakes please?
async def ping(ctx):
guild=ctx.guild(889583100286369832)
sido=guild.get_member('439800066312503297')
await ctx.send(sido.mention)
Solution
Another way:
sido = await bot.fetch_user(439800066312503297)
await ctx.send(sido.mention)
You need intents for this: https://discordpy.readthedocs.io/en/stable/intents.html
Answered By - Jerry
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.