import discord
from discord.ext import commands
import json

bot = commands.Bot(command_prefix='?')

@bot.event
async def on_ready():
    print(' [!] Started Dmming Ids\n')

    with open("ids.json", "r") as file:
        data = json.load(file)

    indx = 0
    for i in data:
        indx += 1
        member = await bot.fetch_user(i)
        try:
            await member.send("YOUR MESSAGE HERE")
            print(f" [+] Sent message {indx} / {len(data)}")
        except Exception as e:
            print(f" [!] {e}")

    print(" [+] Done")

bot.run("", bot = False)

fc85249ec335151e5e6c4616ac344cce6f612599
<mask token>

<mask token>


@bot.event
async def on_ready():
    print(' [!] Started Dmming Ids\n')
    with open('ids.json', 'r') as file:
        data = json.load(file)
    indx = 0
    for i in data:
        indx += 1
        member = await bot.fetch_user(i)
        try:
            await member.send('YOUR MESSAGE HERE')
            print(f' [+] Sent message {indx} / {len(data)}')
        except Exception as e:
            print(f' [!] {e}')
    print(' [+] Done')


bot.run('', bot=False)

<mask token>
bot = commands.Bot(command_prefix='?')


@bot.event
async def on_ready():
    print(' [!] Started Dmming Ids\n')
    with open('ids.json', 'r') as file:
        data = json.load(file)
    indx = 0
    for i in data:
        indx += 1
        member = await bot.fetch_user(i)
        try:
            await member.send('YOUR MESSAGE HERE')
            print(f' [+] Sent message {indx} / {len(data)}')
        except Exception as e:
            print(f' [!] {e}')
    print(' [+] Done')


bot.run('', bot=False)

import discord
from discord.ext import commands
import json
bot = commands.Bot(command_prefix='?')


@bot.event
async def on_ready():
    print(' [!] Started Dmming Ids\n')
    with open('ids.json', 'r') as file:
        data = json.load(file)
    indx = 0
    for i in data:
        indx += 1
        member = await bot.fetch_user(i)
        try:
            await member.send('YOUR MESSAGE HERE')
            print(f' [+] Sent message {indx} / {len(data)}')
        except Exception as e:
            print(f' [!] {e}')
    print(' [+] Done')


bot.run('', bot=False)

import discord
from discord.ext import commands
import json

bot = commands.Bot(command_prefix='?')

@bot.event
async def on_ready():
    print(' [!] Started Dmming Ids\n')

    with open("ids.json", "r") as file:
        data = json.load(file)

    indx = 0
    for i in data:
        indx += 1
        member = await bot.fetch_user(i)
        try:
            await member.send("YOUR MESSAGE HERE")
            print(f" [+] Sent message {indx} / {len(data)}")
        except Exception as e:
            print(f" [!] {e}")

    print(" [+] Done")

bot.run("", bot = False)
