Skip to content

electro0nes/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation


discord.py

About

discord.py is a powerful python.

Ability

As follows:

Embed Menu

Help Menu

Set states

Set activity

Setup verification

Ping

Server invite

Server info

Clear

Warn

Kick and Ban

Installation

Python-3.10.5 or newer is required.

pip install discord.py
pip install asyncio
pip install discord.ext

Note

It 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

Usage

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 here

And 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`")

About

This the python discord bot code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages