viewing paste Unknown #51054 | Python

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
import discord
import discord.ext.commands
from discord.utils import get
from discord.ext.commands import Bot
from discord.ext import commands
import asyncio
import time
import random
 
client = commands.Bot(command_prefix = '!')
client.remove_command("help")
 
@client.event
async def on_ready():
   await client.change_presence(activity=discord.Activity(type=discord.ActivityType.playing,name="In development"))
print('Ready, Freddy') 
 
@client.event
async def on_message(message):
    if message.content == '!speak':
        await message.channel.send('Hello master,how may I please you?')
    if ('loli') in message.content:
       await message.delete()
    if ('childporn') in message.content:
       await message.delete()
    if ('child porn') in message.content:
       await message.delete()
    if ('cub porn') in message.content:
       await message.delete(message)
    if ('wanna trade nudes?') in message.content:
       await message.delete()
    if message.content.startswith('!daddy'):
        await message.channel.send('hello <@%s>' %(message.author.id))
    if message.content.startswith('!sex'):
        await message.channel.send('<@%s> what kind of sex would you like' %(message.author.id))
    if message.content == '!what is your purpose?':
        await message.channel.send('https://cdn.discordapp.com/attachments/593618371942285322/593619461878317085/sri-guru-granth-sahib-quote-i-am-your-slave-your-bonded-servant-and-so.jpg')
    if message.content == '!pokecord cmd':
        await message.channel.send('https://www.pokecord.com/commands')
    if message.content == '!anal':
        await message.channel.send('https://cdn.discordapp.com/attachments/594028353091141648/594263733451096095/image.png')
    if message.content == '!rough':
        await message.channel.send('https://cdn.discordapp.com/attachments/594028353091141648/594265309616013318/images.png')
    if message.content == '!doggy style':
        await message.channel.send('https://cdn.discordapp.com/attachments/594028353091141648/594266004683751441/images.png')
    if message.content == '!69':
        await message.channel.send('https://cdn.discordapp.com/attachments/594028353091141648/594265667675357185/2Q.png')
    if message.content == '!blow me':
        await message.channel.send('https://cdn.discordapp.com/attachments/594028353091141648/594267284906836004/meafTGgaaaamh0Aqmmw3ugbqSPyoy16.png')
    if message.content == '!ride me':
        await message.channel.send('https://cdn.discordapp.com/attachments/594028353091141648/594268396229492846/3_hentai_clip_096_01.png')
    await client.process_commands(message)
 
@client.command()
@commands.has_permissions(manage_messages=True)
async def clear(ctx,limit:int):
    await ctx.channel.purge(limit=limit+1)
    await ctx.send(f"Cleared {limit} messages", delete_after=5)
 
@client.command()
async def help(ctx):
    embed = discord.Embed(title='Pokecord bot commands', description='bot commands', color=ctx.author.top_role.colour)
    embed.add_field(name='', value='two', inline=False)
 
    await ctx.send("```Hey! Here's the list of my commands:\n!daddy\n!hello\n!sex\n!pokecord cmd\n!anal\\n!rough cmd\n!doggy style\n!69\n!blow me\n!ride me\n!pokecord```")
    await ctx.send(embed=embed)
 
@client.command()
@commands.has_role('admin')
async def kick(ctx, member : discord.Member, *, reason=None):
      await member.kick(reason=reason)
      await ctx.send(f"Kicked {member}\nReason: {reason}")
 
@client.command()
async def pokecord(ctx):
    await ctx.author.send(f"```p!start | Start the game! \n p!pick | Pick a starter pokémon! (p!start shows all available) \n\
    p!help | Displays this help message. \n POKEMON COMMANDS | \n p!info | Shows your selected pokémon'\s information. \n\
    p!pokemon | Shows a list of your pokémon. \n p!fav | Shows a list of your favourite pokémon. \n\
    p!addfav <Pokémon n°> | Adds a pokémon to your list of favourites. \n p!removefav <Pokémon n°> | Removes a pokémon from your list of favourites. \n\
    p!nickname <nickname> | Gives a nickname to your currently selected pokémon. \n p!dropitem | Drop the item your pokémon is currently holding. \n\
    p!select <Pokémon n°> | Select which pokémon to train and use in battle! \n p!catch <pokemon name> | Catch a pokémon! \n POKEMON COMMANDS | \n\
    p!catch <pokemon name> | Catch a pokémon! \n p!release <Pokémon n°> | Release a pokémon! \n p!duel @User | Challenge one of your friends to a 1 on 1 duel! \n\
    p!trade @User | Invite one of your friends to a trade! \n p!moves | List all moves your pokémon can currently learn. \n\
    p!learn <move name> | Teach your pokémon a move. \n p!shop | Open the shop to see items available for purchase. \n p!buy <Item ID> | Buy an item from shop. \n\
    BOT INFORMATION | \n p!botinfo | Shows general bot information. \n p!invite | Gives the bot's invite link. \n\
    p!donate | Sends a link to donate to support the bot. \n p!patreon | Sends a link to the bot's patreon page. \n\
    p!server | Sends an invite to the bot's official server. \n OTHER COMMANDS | \n p!prefix <prefix> | Sets server prefix. (Server owner only) \n\
    p!silence | Toggles your level up messages. \n p!order | Change the order of your pokemon in p!pokemon and p!fav```")
 
client.run('NTkzNTQ3ODQwNDUwNDYxNzA1.XRZ1_A.n_rHAhBV5VjYug9RMbUoZYuZc3g')
 
 
Viewed 1009 times, submitted by CielPhantomhive.