Skip to content

REFUPANKER/DiscordPy-iPyBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

DiscordPy - iPyBot [Open Source Discord Bot]

iPyBot - Bot for Discord

installation

DiscordPy

python -m pip install discord.py

Critical Info about commands :

1- Bot Intent requires all intents in program

botIntent=discord.Intents.all()
Bot=commands.Bot(intents=botIntent,command_prefix="py ",help_command=None)

2- Adding "on_message" event require to use Bot."proccess_command"

3- Also adding "on_message" event require to check message author isnt our bot

@Bot.event
async def on_message(msg : Message):
    if(msg.author!=Bot.user):
        if(msg.content.startswith(Bot.command_prefix)):
            await Bot.process_commands(msg)

4- File for Bot credential and Room IDs and more

About

iPyBot - Bot for Discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages