A discord API wrapper for python
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bhaicord.py-0.0.2.tar.gz
(25.2 kB
view hashes)
Built Distribution
Close
Hashes for bhaicord.py-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5667f581bcc5629a58cdd690136886859241395de55572aa780b4772b3d5d030 |
|
MD5 | b358eee67d004e03e7e35725c16d83f8 |
|
BLAKE2b-256 | e0cf559585f50ff2c86a8384c023029c35ec2686947d1d658cfef8c34067d806 |