'Python3 discord welcome dm selfbot
i'm making a discord welcome dm selfbot and i have a problem. The code presented bellow doesn't send dm as it supposed to do. What do i do wrong and how to fix it?
bot = commands.Bot(command_prefix='?', self_bot= True)
@bot.event
async def on_member_join(member):
await member.send(var.bot_message)
bot.run(token, bot=False)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
