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 command to a Nextcord bot

Key Features

The package provides 3 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

Usage

  • 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.

Requirements

  • Python 3.12 or higher is required
  • Nextcord 3.0.1 or higher is required

Installation

Using pip :

pip install SpeakNextcordBot

Setup

Simple example how to setup 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.0.0.tar.gz (16.4 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.0.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for speaknextcordbot-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9e826f12c7f75937f8da0d9967f0c2f2ffb5f22baa8e2e996cfc9465b8c29d8b
MD5 d426b833f8f8f32e5ab7f329eb0b2063
BLAKE2b-256 5e1507c6ed119d5406c808d0e2568295e3483bf911ce290a0f1f7abf9c6e51f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for speaknextcordbot-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49b344c35a42d7b8c6d2128c7f924438b9a30abc81d8ca9724ebf16779b548ac
MD5 c255f502684d216d8fef0f296837c7d9
BLAKE2b-256 f496117388fb8fca31540582bb36c084a1784faea4c5da954d50a9e6d036412e

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