discord.py is a powerful python.
As follows:
Embed Menu
Help Menu
Set states
Set activity
Setup verification
Ping
Server invite
Server info
Clear
Warn
Kick and Ban
Python-3.10.5 or newer is required.
pip install discord.py
pip install asyncio
pip install discord.extIt is a simple robot and has abilities but not advanced
Before running the robot, check the server.py file and fill the contents like URL,ICON and similar things according to your taste so that the robot does not encounter problems
Install The All package:
Go to The botdiscord File Open Config.py And Change The Setting Of Your Bot:
token = '' #Put Your bots token here
prefix = '' #put prefix here
link = '' #put bot invite link here
ownerid = '' #put your id hereAnd read the note
Next Open The Server.py And Your Bot Is Ready In Server Discord
Example Use:
Prefixping=>200ms
@client.command()
async def ping(ctx):
before = time.monotonic()
message = await ctx.send("Pong!")
ping = (time.monotonic() - before) * 1000
await message.edit(content=f"Pong! `{int(ping)}ms`")