Delete 'bot.py'
This commit is contained in:
parent
50f48c781d
commit
a25716e47e
23
bot.py
23
bot.py
@ -1,23 +0,0 @@
|
||||
from discord.ext import commands
|
||||
import asyncio
|
||||
|
||||
client = commands.Bot(command_prefix="$")
|
||||
|
||||
|
||||
@client.event
|
||||
async def on_ready():
|
||||
print("Potato is ready.")
|
||||
|
||||
|
||||
@client.command(help='(what to spam) (interval(sec)) (how many times spam)')
|
||||
@commands.has_permissions(administrator=True)
|
||||
async def spamhere(ctx, what, interval, times):
|
||||
try:
|
||||
for i in range(int(times)):
|
||||
await ctx.send(what)
|
||||
await asyncio.sleep(int(interval))
|
||||
except Exception as e:
|
||||
await ctx.send(e)
|
||||
|
||||
|
||||
client.run("NzgyNTEzMDYwNDM4OTk5MDQw.X8NSEw.5E-XMAGSaceiEmqiCnWORGi1q18")
|
Loading…
Reference in New Issue
Block a user