discoutils
discoutils is a module that helps discord bot development easy
installation
pip install discoutils
Help Commands
There are two help commands currently but soon there will be more.
MinimalEmbedHelp
import discord
from discord.ext import commands
from discoutils import MinimalEmbedHelp
bot = commands.Bot(command_prefix=".", help_command=MinimalEmbedHelp())
DefaultEmbedHelp
import discord
from discord.ext import commands
from discoutils import DefaultEmbedHelp
bot = commands.Bot(command_prefix=".", help_command=DefaultEmbedHelp())
Random Functions
There are only 3 functions for now we will be adding more functions soon
Random Colors For Embeds
randomColor()
Example:
import discord
from discord.ext import commands
from discoutils import random_things
# test embed
@bot.command()
async def test(ctx):
embed = discord.Embed(title = 'test',description='test',color=random_things.randomColor())
await ctx.send(embed=embed)
Random Dog Images
random_dog()
Example:
import discord
from discord.ext import commands
from discoutils import random_things
# test embed
@bot.command()
async def test(ctx):
embed = discord.Embed(title = 'test',description='test')
embed.set_image(url=random_things.random_dog())
await ctx.send(embed=embed)
Random Cat Images
random_cat()
Example:
import discord
from discord.ext import commands
from discoutils import random_things
# test embed
@bot.command()
async def test(ctx):
embed = discord.Embed(title = 'test',description='test')
embed.set_image(url=random_things.random_cat())
await ctx.send(embed=embed)
Metadata
Release files for discoutils 0.0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| discoutils-0.0.3.4.tar.gz | 6.5 kB | Without provenance | Details for discoutils-0.0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discoutils-0.0.3.4-py3-none-any.whl | Python 3 | none | any | Details for discoutils-0.0.3.4-py3-none-any.whl |
Total release size: 16.9 kB
Release files / discoutils-0.0.3.4.tar.gz
| Download URL | discoutils-0.0.3.4.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e8b61bcc9332127a6dda45c42af5976388f5e00f9d194719a5fb43a5c3792ce
|
|
BLAKE2b-256 checksum How to use checksums |
224a5952e4a033ccc63b1046c999e4ee6ca8d271d391485e4f774b3e5f9f5281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3
|
Release files / discoutils-0.0.3.4-py3-none-any.whl
| Download URL | discoutils-0.0.3.4-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6110d0b57638c09ad9a37ea07dfca398da18edeb206f156e54ed4b8ddd04ad6c
|
|
BLAKE2b-256 checksum How to use checksums |
f6d768faaad62edd2179ac9cbd60002a7e163260cb031df71aa72f87b98d5542
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3
|
Security for discoutils 0.0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.