Skip to content

kyrexiii/bhaicord.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bhaicord.py

A simple discord api wrapper made in python

Installation

pip install bhaicord.py
# or
pip install git+https://github.com/himangshu147-git/bhaicord.py.git

Usage

import bhaicord
from bhaicord import Client, Intents

client = Client(intents=Intents.all())


@client.event
async def on_ready(event):
    print("Bot is ready")


@client.event
async def message_create(msg: bhaicord.Message):
    if msg.content.startswith("test"):
        await msg.send("it works fine")

client.run("TOKEN")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

A discord api written in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages