viewing paste Unknown #44594 | 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
Imports and Bot Command definition
import asyncio
import discord
import logging
import math
import os
import random
import sys
from discord import utils
from discord.ext.commands import Bot
from discord.voice_client import VoiceClient
logging.basicConfig(level=logging.INFO)
 
#Definition of "~"
my_bot=Bot(command_prefix="~")
 
#Bot Startup
@my_bot.event
async def on_read():
    print("Deleting System32....")
 
@my_bot.command()
async def hello(*args):
    return await my_bot.say("What do you want?")
 
```
@my_bot.command()
async def ping():
    return await my_boy.say("I'm not saying it.")
``` 
#TODO: Rewrite the random attackers code. Hopefully I don't need to rewrite the goddamn list of attackers, too.. 
    
my_bot.run("Mjk5NTQ4Mjc2ODEyOTM5MjY2.C8fnWg.WAmImA3L8NufHkCJykCNtyTIdyc")
Viewed 840 times, submitted by Guest.