Skip to main content

An easy-to-use extension with batterys for the Pycord library

Project description

nicoocord

An easy-to-use extension for the Pycord library with some utility functions.

Note: Some examples are outdated

Features

  • Json parser
  • Wrapper for the aiosqlite library
  • Pre-made Embeds
  • Pre-made on_ready event (can be disabled)
  • Custom logger (can be disabled and log to file)

Installing

Python 3.8 or higher is required.

You can install the latest release from PyPI (Coming soon).

pip install nicoocord

You can also install the latest Dev version. Note the Dev version maybe have bugs and can be unstable and requires git to be installed.

pip install git+https://github.com/littxle/nicoocord.git

Useful Links

Example

import nicoocord as nc
import discord


bot = nc.Bot(
    token="token"
)

if __name__ == "__main__":
    bot.load_cogs("cogs")  # Load all cogs in the "cogs" folder
    bot.load_subdir("commands")  # Load all cogs in the "commands" folder and all subfolders

    bot.exec() # Start the bot

Note: It's recommended to load the token from a .env file, from a json file or a normal python file instead of hardcoding it.

Contributing

I am always happy to receive contributions. Here is how to do it:

  1. Fork this repository
  2. Make changes
  3. Create a pull request

You can also create an issue if you find any bugs.

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

nicoocord-2.1.5.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

nicoocord-2.1.5-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file nicoocord-2.1.5.tar.gz.

File metadata

  • Download URL: nicoocord-2.1.5.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for nicoocord-2.1.5.tar.gz
Algorithm Hash digest
SHA256 d86d3e1916de032c4a4febb08f33d4cd6ce2ef63c10f13be7295dd9ff2cce9ee
MD5 63e8ef02f9ec40e531043d0ecc668802
BLAKE2b-256 74423aab55bac6266447f3ea0d173b425d9fa220a81f74f31dab2e3a2ffd7718

See more details on using hashes here.

File details

Details for the file nicoocord-2.1.5-py3-none-any.whl.

File metadata

  • Download URL: nicoocord-2.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for nicoocord-2.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c9641f5e9d06c4ba87700f0ad11b7214bb760f5deac45bcda87cc6d854674d4a
MD5 4dba42d5408afcd9cd4e60212ceb4472
BLAKE2b-256 0c94a4ef95469aa21822c04b1bb41421832fd8414aaa87fe1349b206e868a68a

See more details on using hashes here.

Supported by

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