I dont know how but i can only use 3 messages
my script : ```python
import discord
import os
import datetime
bot=discord.Bot()
import dotenv
dotenv.load_dotenv("TOKEN.env")
token = str(os.getenv("TOKEN"))
print(token)
@bot.slash_command(description="Checks the ping")
async def ping(ctx):
await ctx.respond("Pong! the latency is "+bot.latency)
@bot.slash_command(description="Timeouts out users")
async def timeout(ctx, member:discord.Member, time:int):
await ctx.respond("Timed out "+member.mention+" for "+str(time))
await member.timeout_for(datetime.timedelta(seconds=time))
@bot.slash_command(description="Kicks users!")
async def kick( ctx, member:discord.Member, resson:str):
embed=discord.Embed(colour=255, title="Kick System", description="Kicked "+member.mention)
await ctx.respond(embed=embed)
await member.kick(resson=resson)
@bot.slash_command(description=("Bans a user"))
async def ban(ctx, resson:str, member:discord.Member):
await member.send("You got banned in "+ctx.guild.name+" for "+resson)
await member.ban(reason=resson)
await ctx.respond("Banned "+member.mention+" Succesfully")
bot.run(token)