@client.event
async def on_message(message):
if message.content == "help me":
user = client.get(My_id)
if user is not None:
await user.send("Someone needs help")
Is there any way to make bot dm me when someone sends a specific text like they type help me in channel and I get dm that "Hi someone needs help" I tried the code above but didnt work it shows user = client.get(My_id) AttributeError: 'Bot' object has no attribute 'get' please give the answer in python and Thanks in advance for the answer and I I'm making the bot for discord