EasyCord | esycord
====================
.. image:: https://img.shields.io/pypi/dd/esycord.svg
:target: https://pypi.python.org/pypi/esycord
:alt: PyPI downloads
.. image:: https://shields.io/pypi/v/esycord.svg
:target: https://pypi.python.org/pypi/esycord
:alt: PyPI version info
.. image:: https://img.shields.io/pypi/pyversions/esycord.svg
:target: https://pypi.python.org/pypi/esycord
:alt: PyPI supported Python versions
.. image:: https://i.imgur.com/8MmPk9c.png
:target: https://pypi.python.org/pypi/esycord
:alt: EasyCord Logo
EasyCord - Python module for much easier creating discord bots on python!
Installing
----------
**Python 3.8 or higher is required**
To install the library without full voice support, you can just run the following command:
.. code:: sh
# Linux/macOS
python3 -m pip install -U esycord
# Windows
py -3 -m pip install -U esycord
To install the development version, do the following:
.. code:: sh
$ git clone https://github.com/EgogorGames/EasyCord
$ cd esycord
Bot Example
--------------
.. code:: py
import esycord as es
from discord import *
client = es.client(command_prefix="!", intents=Intents.all())
tree = client.get_tree()
@client.default_command(name="reply")
async def reply(esyraction:es.Esyraction):
await esyraction.reply("hello")
@client.on_msg()
async def on_msg(message:Message):
print(message.content)
@tree.command(name="help", description="Help menu")
async def help(interaction : Interaction):
await interaction.response.send_message("Help menu.\n- `!reply` - Replyes with hello message!")
client.bot_run("TOKEN")
More examples you can find in `Examples directory <https://github.com/EgogorGames/EasyCord/tree/main/examples/>`_
Links
------
- `Discord <https://discord.com/>`_
- `Discord Developer Portal <https://discord.com/developers/>`_
- `Discord.py Documentation <https://discordpy.readthedocs.io/en/latest/index.html>`_
- `EasyCord(esycord) Documentation`
Raw data
{
"_id": null,
"home_page": "https://github.com/EgogorGames/EasyCord",
"name": "esycord",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.0",
"maintainer_email": "",
"keywords": "esycord",
"author": "EgogorGames",
"author_email": "egogorgamescontact@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ec/73/ced307a2b06938d33b6b0a235632f8decd0c2cddf609b4251c3674d8c4cf/esycord-1.1.4.tar.gz",
"platform": null,
"description": "EasyCord | esycord\n====================\n\n.. image:: https://img.shields.io/pypi/dd/esycord.svg\n :target: https://pypi.python.org/pypi/esycord\n :alt: PyPI downloads\n.. image:: https://shields.io/pypi/v/esycord.svg\n :target: https://pypi.python.org/pypi/esycord\n :alt: PyPI version info\n.. image:: https://img.shields.io/pypi/pyversions/esycord.svg\n :target: https://pypi.python.org/pypi/esycord\n :alt: PyPI supported Python versions\n\n.. image:: https://i.imgur.com/8MmPk9c.png\n :target: https://pypi.python.org/pypi/esycord\n :alt: EasyCord Logo\n\nEasyCord - Python module for much easier creating discord bots on python!\n\nInstalling\n----------\n\n**Python 3.8 or higher is required**\n\nTo install the library without full voice support, you can just run the following command:\n\n.. code:: sh\n\n # Linux/macOS\n python3 -m pip install -U esycord\n\n # Windows\n py -3 -m pip install -U esycord\n\n\nTo install the development version, do the following:\n\n.. code:: sh\n\n $ git clone https://github.com/EgogorGames/EasyCord\n $ cd esycord\n\nBot Example\n--------------\n\n.. code:: py\n\n import esycord as es\n from discord import *\n\n client = es.client(command_prefix=\"!\", intents=Intents.all())\n tree = client.get_tree()\n\n @client.default_command(name=\"reply\")\n async def reply(esyraction:es.Esyraction):\n await esyraction.reply(\"hello\")\n\n @client.on_msg()\n async def on_msg(message:Message):\n print(message.content)\n\n @tree.command(name=\"help\", description=\"Help menu\")\n async def help(interaction : Interaction):\n await interaction.response.send_message(\"Help menu.\\n- `!reply` - Replyes with hello message!\")\n\n client.bot_run(\"TOKEN\")\n\nMore examples you can find in `Examples directory <https://github.com/EgogorGames/EasyCord/tree/main/examples/>`_\n\nLinks\n------\n\n- `Discord <https://discord.com/>`_\n- `Discord Developer Portal <https://discord.com/developers/>`_\n- `Discord.py Documentation <https://discordpy.readthedocs.io/en/latest/index.html>`_\n- `EasyCord(esycord) Documentation`",
"bugtrack_url": null,
"license": "MIT",
"summary": "EasyCord - Python module for much easier creating discord bots on python!",
"version": "1.1.4",
"split_keywords": [
"esycord"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ec73ced307a2b06938d33b6b0a235632f8decd0c2cddf609b4251c3674d8c4cf",
"md5": "8b3aa4156bf5075d036308e1865897ea",
"sha256": "2d4f911015f39c9d4375a9f3f202146f37715432943729403b865be01eb2dc1e"
},
"downloads": -1,
"filename": "esycord-1.1.4.tar.gz",
"has_sig": false,
"md5_digest": "8b3aa4156bf5075d036308e1865897ea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.0",
"size": 9094,
"upload_time": "2023-01-07T23:04:16",
"upload_time_iso_8601": "2023-01-07T23:04:16.485684Z",
"url": "https://files.pythonhosted.org/packages/ec/73/ced307a2b06938d33b6b0a235632f8decd0c2cddf609b4251c3674d8c4cf/esycord-1.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-07 23:04:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "EgogorGames",
"github_project": "EasyCord",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "esycord"
}