: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
Release history Release notifications | RSS feed
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.3.2.tar.gz
(5.4 kB
view hashes)