Name | bhaicord.py JSON |
Version |
0.0.2
JSON |
| download |
home_page | |
Summary | A discord API wrapper for python |
upload_time | 2023-11-07 14:23:37 |
maintainer | |
docs_url | None |
author | Your Name |
requires_python | >=3.10 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# bhaicord.py
### A simple discord api wrapper made in python
## Installation
```bash
pip install bhaicord.py
# or
pip install git+https://github.com/himangshu147-git/bhaicord.py.git
```
## Usage
```python
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](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "",
"name": "bhaicord.py",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "",
"author": "Your Name",
"author_email": "147.himangshu@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7a/c4/0cfca3f1ed782cdc5f793ef83b0b062a53f6d87710f8205530d7fe7407fa/bhaicord.py-0.0.2.tar.gz",
"platform": null,
"description": "# bhaicord.py\r\n\r\n### A simple discord api wrapper made in python\r\n\r\n## Installation\r\n\r\n```bash\r\npip install bhaicord.py\r\n# or\r\npip install git+https://github.com/himangshu147-git/bhaicord.py.git\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nimport bhaicord\r\nfrom bhaicord import Client, Intents\r\n\r\nclient = Client(intents=Intents.all())\r\n\r\n\r\n@client.event\r\nasync def on_ready(event):\r\n print(\"Bot is ready\")\r\n\r\n\r\n@client.event\r\nasync def message_create(msg: bhaicord.Message):\r\n if msg.content.startswith(\"test\"):\r\n await msg.send(\"it works fine\")\r\n\r\nclient.run(\"TOKEN\")\r\n```\r\n\r\n## Contributing\r\n\r\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\r\n\r\n## License\r\n\r\n[MIT](https://choosealicense.com/licenses/mit/)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A discord API wrapper for python",
"version": "0.0.2",
"project_urls": {
"Documentation": "https://github.com/himangshu147-git/bhaicord.py",
"Download": "https://github.com/himangshu147-git/bhaicord.py/archive/refs/tags/bhaicord.py.tar.gz",
"Issue tracker": "https://github.com/himangshu147-git/bhaicord.py/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e0cf559585f50ff2c86a8384c023029c35ec2686947d1d658cfef8c34067d806",
"md5": "b358eee67d004e03e7e35725c16d83f8",
"sha256": "5667f581bcc5629a58cdd690136886859241395de55572aa780b4772b3d5d030"
},
"downloads": -1,
"filename": "bhaicord.py-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b358eee67d004e03e7e35725c16d83f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 33991,
"upload_time": "2023-11-07T14:23:28",
"upload_time_iso_8601": "2023-11-07T14:23:28.278560Z",
"url": "https://files.pythonhosted.org/packages/e0/cf/559585f50ff2c86a8384c023029c35ec2686947d1d658cfef8c34067d806/bhaicord.py-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7ac40cfca3f1ed782cdc5f793ef83b0b062a53f6d87710f8205530d7fe7407fa",
"md5": "4482be51d28c1dcb837188fea5e4a394",
"sha256": "f90298762a062330e8802053c703f700f9e6e8c6797dd37886714c9520f787bf"
},
"downloads": -1,
"filename": "bhaicord.py-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "4482be51d28c1dcb837188fea5e4a394",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 25195,
"upload_time": "2023-11-07T14:23:37",
"upload_time_iso_8601": "2023-11-07T14:23:37.539549Z",
"url": "https://files.pythonhosted.org/packages/7a/c4/0cfca3f1ed782cdc5f793ef83b0b062a53f6d87710f8205530d7fe7407fa/bhaicord.py-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-07 14:23:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "himangshu147-git",
"github_project": "bhaicord.py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "bhaicord.py"
}