iPyBot - Bot for Discord
python -m pip install discord.py
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