Skip to main content

:A simple library for add new functions the Pycord

Project description

NewFunctionsPYC

:A simple library for add new functions the Pycord

Usage:

install with pip

pip install NewFunctionsPYC
pip install -U git+https://github.com/Marciel404/NewFunctionsPYC (Instable)

Import on your code:

import NewFunctionsPYC

Run it

#More exemples in https://github.com/Marciel404/NewFunctionsPYC/tree/main/exemples

Using EmbedBuilder:

    >>> from NewFunctionsPYC import EmbedBuilder
    >>> from hexacolors import stringColor # "pip install hexacolors" for use this
    >>>
    >>> e: EmbedBuilder = EmbedBuilder()
    >>>
    >>> e.set_title("Title")
    >>>
    >>> e.set_description("Description")
    >>>
    >>> e.set_color(stringColor("indigo"))
    >>>
    >>> channel.send(embed = e.build())
    
Using client:

    >>> import NewFunctionsPYC
    >>>
    >>> client = NewFunctionsPYC.client("tokenBot")
    >>>
    >>> client.load_cogs("commands")
    >>>
    >>> client.__run__()
        

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

NewFunctionsPYC-1.2.0.tar.gz (4.7 kB view hashes)

Uploaded Source

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