A python package for adding speak interaction slash command to a Nextcord bot
Project description
SpeakNextcordBot
A python package for adding speak interaction slash commands to a Nextcord bot
Key Features
The package provides 5 features :
-
/speakto make your bot send message in a channel -
/update_speakto edit a message send by your bot -
/replyto make your bot reply to a message -
/add_voteto add a number of vote reaction -
/remove_voteto remove all votes reactions
Usage
By default all slash commands are only available for server admin
-
The speak command
Enter your message in the
messageparameter :
If no message is provided, a modal is open to enter your message (recommended for formated messages)
You can also edit the channel id, if you want send your message in another channel (default is the current channel)
-
The update_speak command
Enter the ID of your bot message you want to edit :
A modal will open, allowing you to edit the message. -
The reply command
Enter the ID of the message you want your bot to reply :
A modal will open, allowing you to enter the reply message. -
The add_vote command
Enter the ID of the message you want to add reaction votes to, and the number of reactions you want (between 1-10)
-
The remove_vote
Enter the ID of the message you want to remove all reaction votes to
Requirements
- Python 3.12 or higher is required
- Nextcord 3.0.1 or higher is required
Installation
Using pip :
pip install SpeakNextcordBot
Setup
Simple setup example
Call init_cog() with your bot in argument :
from nextcord.ext import commands
from speakNextcordBot.init_cog import init_cog
bot = commands.Bot()
init_cog(bot)
bot.run("YOUR_TOKEN")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file speaknextcordbot-1.1.2-py3-none-any.whl.
File metadata
- Download URL: speaknextcordbot-1.1.2-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8dd9f006f45135d8e5413abc489363a90b65057a2f10d036924f5327acdb746
|
|
| MD5 |
40c7c6939bb12945284f486ad6d31be3
|
|
| BLAKE2b-256 |
02aacaaa01454dd55d70cf2167a7b1c2f893f715f37adaa1d4eb369231d3afb2
|