from discord.ext import commands
token = '' # DM SpaceDude101#5831 for token then put into the quotes
prefix = '.'
client = commands.Bot(command_prefix=prefix)
client.remove_command("help")


@client.event
async def on_ready():
    print('Ready')


'''@client.event
async def on_command_error(ctx, error):
    pass'''


def prefix_change(new_prefix):
    global prefix, client
    prefix = new_prefix
    client.command_prefix = prefix


@client.command()
async def spam(ctx, id1: int, num: int):
    user = client.get_user(id1)
    await ctx.send(f'Started pinging {user.name} {num} times.')
    for i in range(num):
        await user.send(f'<@{str(id1)}>')
    await ctx.send(f'Finished {num} pings for {user.name}')


client.run(token)

a2df7553bcdac4c1f97c3760b9a1d2ecb914e22a
<mask token>


def prefix_change(new_prefix):
    global prefix, client
    prefix = new_prefix
    client.command_prefix = prefix


<mask token>

<mask token>
client.remove_command('help')


@client.event
async def on_ready():
    print('Ready')


<mask token>


def prefix_change(new_prefix):
    global prefix, client
    prefix = new_prefix
    client.command_prefix = prefix


@client.command()
async def spam(ctx, id1: int, num: int):
    user = client.get_user(id1)
    await ctx.send(f'Started pinging {user.name} {num} times.')
    for i in range(num):
        await user.send(f'<@{str(id1)}>')
    await ctx.send(f'Finished {num} pings for {user.name}')


client.run(token)

<mask token>
token = ''
prefix = '.'
client = commands.Bot(command_prefix=prefix)
client.remove_command('help')


@client.event
async def on_ready():
    print('Ready')


<mask token>


def prefix_change(new_prefix):
    global prefix, client
    prefix = new_prefix
    client.command_prefix = prefix


@client.command()
async def spam(ctx, id1: int, num: int):
    user = client.get_user(id1)
    await ctx.send(f'Started pinging {user.name} {num} times.')
    for i in range(num):
        await user.send(f'<@{str(id1)}>')
    await ctx.send(f'Finished {num} pings for {user.name}')


client.run(token)

from discord.ext import commands
token = ''
prefix = '.'
client = commands.Bot(command_prefix=prefix)
client.remove_command('help')


@client.event
async def on_ready():
    print('Ready')


<mask token>


def prefix_change(new_prefix):
    global prefix, client
    prefix = new_prefix
    client.command_prefix = prefix


@client.command()
async def spam(ctx, id1: int, num: int):
    user = client.get_user(id1)
    await ctx.send(f'Started pinging {user.name} {num} times.')
    for i in range(num):
        await user.send(f'<@{str(id1)}>')
    await ctx.send(f'Finished {num} pings for {user.name}')


client.run(token)

from discord.ext import commands
token = '' # DM SpaceDude101#5831 for token then put into the quotes
prefix = '.'
client = commands.Bot(command_prefix=prefix)
client.remove_command("help")


@client.event
async def on_ready():
    print('Ready')


'''@client.event
async def on_command_error(ctx, error):
    pass'''


def prefix_change(new_prefix):
    global prefix, client
    prefix = new_prefix
    client.command_prefix = prefix


@client.command()
async def spam(ctx, id1: int, num: int):
    user = client.get_user(id1)
    await ctx.send(f'Started pinging {user.name} {num} times.')
    for i in range(num):
        await user.send(f'<@{str(id1)}>')
    await ctx.send(f'Finished {num} pings for {user.name}')


client.run(token)
