Home > Back-end >  Send private message discord with my account in python
Send private message discord with my account in python

Time:06-06

I try to find a solution to send a message to a friend but not with a bot python but with my personnal account.

But I only found discord library and it use a bot to do everything so i don't know where can i search

CodePudding user response:

Im not 100% sure but maybe you could imitate your account as a webhook. There are a lot of tutorials on how to send messages with a webhook on discord. Maybe you could get your token and send some send requests of messages

CodePudding user response:

You can still use the standard discord library with your personal discord account token. Please know that this is against the discord TOS, so it could end up getting your account banned.

bot = commands.Bot(command_prefix=prefix, self_bot=True
    
bot.run(token, bot=False)
  • Related