Skip to main content

A python package for adding speak interaction slash command to a Nextcord bot

Project description

SpeakNextcordBot

Version PyPI - Python Version

A python package for adding speak interaction slash commands to a Nextcord bot

Key Features

The package provides 5 features :

  • /speak to make your bot send message in a channel

  • /update_speak to edit a message send by your bot

  • /reply to make your bot reply to a message

  • /add_vote to add a number of vote reaction

  • /remove_vote to remove all votes reactions

Usage

By default all slash commands are only available for server admin

  • The speak command

    Enter your message in the message parameter :
    image
    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)
    image

  • The update_speak command

    Enter the ID of your bot message you want to edit :
    image
    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 :
    image
    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)
    image

  • The remove_vote

    Enter the ID of the message you want to remove all reaction votes to
    image

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 Distribution

speaknextcordbot-1.1.1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

speaknextcordbot-1.1.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file speaknextcordbot-1.1.1.tar.gz.

File metadata

  • Download URL: speaknextcordbot-1.1.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for speaknextcordbot-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4c684639d0b9aed988472334ff875621b5650f2769510cdbc75c158426b2b8e5
MD5 cc7840ffaf906d851c75d134bd7a6883
BLAKE2b-256 a601747b7747cde2b4aa5f70ab9bb349ee64f3890c10327556969ff0280cd731

See more details on using hashes here.

File details

Details for the file speaknextcordbot-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for speaknextcordbot-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 926d8f3b96d8bd20a7d205f147b47bb818de18a42cfd4a013ef1a8dce083eedd
MD5 8483651f43114ca11508902bbab9b3ac
BLAKE2b-256 ef3b43bbb145be87b9707ad8a7c8bd81f8b8fc2bfdf8cfe830763ddf1194d98d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page