how to make a discord bot dm someone python
@bot.command(pass_context = True)
async def dm(ctx, member : discord.Member, *, content: str):
await bot.send_message(member, content)
how to make a discord bot dm someone python
@bot.command(pass_context = True)
async def dm(ctx, member : discord.Member, *, content: str):
await bot.send_message(member, content)
how to make discord.py rewrite bot dm someone
@bot.command()
async def pm(ctx):
user_id_list = [1, 2, 3] # Replace this with list of IDs
for user_id in user_id_list:
user = await bot.get_user_info(user_id)
await user.send('hello')
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us