Skip to main content

discord-surveys

A survey object that utilizes discord.py and discord-interactions.

Examples

Discord

Example

Example

Python

from discord_surveys import Survey

async def survey(self, ctx: SlashContext, question: str, options: str):
    await Survey(
        bot=ctx.bot,
        ctx=ctx,
        question=question,
        options=options
    ).send()

Description

Attributes Description
bot discord.Bot or discord.AutoShardedBot
ctx discord_slash.context.SlashContext
embed discord.Embed
options str and then converted to SurveyOption.
timeout (Optional) int

Metadata

Release files for discord-surveys 1.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discord-surveys 1.0.11
File Size Uploaded Provenance Actions
discord_surveys-1.0.11.tar.gz 4.8 kB Without provenance Details for discord_surveys-1.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for discord-surveys 1.0.11
File Interpreter ABI Platform Actions
discord_surveys-1.0.11-py3-none-any.whl Python 3 none any Details for discord_surveys-1.0.11-py3-none-any.whl

Total release size: 9.7 kB

Release files / discord_surveys-1.0.11.tar.gz

Download URL discord_surveys-1.0.11.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eae44a2dd637bc1e274fcd4aade73b1a6300f5eb89acf5e7f42ef98518cbb519
BLAKE2b-256 checksum
How to use checksums
75475e3fe9769f014a1392707b641bd8feca2b681fbf7290560fa245ebe326de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.0

Release files / discord_surveys-1.0.11-py3-none-any.whl

Download URL discord_surveys-1.0.11-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ee2b44b393b414a0345c48aad2c5d33f27ee1744cbcdf641a02fe244bc26c0f
BLAKE2b-256 checksum
How to use checksums
6909f4ba48b20945a8cd64ff0e88cf158729885ebaf5160655aa7d336ec57e5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.0

Security for discord-surveys 1.0.11

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page