Skip to main content

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

MIT

Project details


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bhaicord.py-0.0.2-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file bhaicord.py-0.0.2.tar.gz.

File metadata

  • Download URL: bhaicord.py-0.0.2.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for bhaicord.py-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f90298762a062330e8802053c703f700f9e6e8c6797dd37886714c9520f787bf
MD5 4482be51d28c1dcb837188fea5e4a394
BLAKE2b-256 7ac40cfca3f1ed782cdc5f793ef83b0b062a53f6d87710f8205530d7fe7407fa

See more details on using hashes here.

File details

Details for the file bhaicord.py-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: bhaicord.py-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for bhaicord.py-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5667f581bcc5629a58cdd690136886859241395de55572aa780b4772b3d5d030
MD5 b358eee67d004e03e7e35725c16d83f8
BLAKE2b-256 e0cf559585f50ff2c86a8384c023029c35ec2686947d1d658cfef8c34067d806

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page