A survey object that utilizes discord.py and discord-interactions.
Project description
SlashSurveys
A survey object that utilizes discord.py and discord-interactions.
Usage
bot
-> discord.Bot
or discord.AutoShardedBot
ctx
-> discord_slash.context.SlashContext
embed
-> discord.Embed
options
-> str
and then converted to SurveyOption
timeout
-> int
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()
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
discord-surveys-1.0.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for discord_surveys-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2900955f72d054556b7224edfb6a943721bd734a36222a90aa42945e9e6e4c |
|
MD5 | 6655f16bcd78764c559a2d0e57a4c01e |
|
BLAKE2b-256 | 996833794eb0bd2da5cbae70886b3f91bb605effbead1c2bf0e2b66339fab7ef |