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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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