Skip to main content

Uma biblioteca mais simples para a criação de comandos no Discord.py

Project description

Welcome!!

(PT:BR) - Uma biblioteca para criar comando para o Discord.py muito mais simples!! (ENG) - A library to create a much simpler command for Discord.py!!

Usage example

import simplecmd as scmd
import discord

scmd.config.set(logs=True, prefix=f"$") # Seta as configurações necessárias!!

intents = discord.Intents.default()
client = discord.Client(intents=intents)

@scmd.command("ping") # Função para criar comandos
async def ping_cmd(message):
    await message.channel.send("Pong🏓", reference=message)

@client.event
async def on_message(message):
    if message.author.bot:
        return
    if message.author.id == client.user.id:
        return
    await scmd.load(message) # Carrega Todos Os Comandos

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

simplecmd_discordpy-1.0.7.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

simplecmd_discordpy-1.0.7-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file simplecmd_discordpy-1.0.7.tar.gz.

File metadata

  • Download URL: simplecmd_discordpy-1.0.7.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.7

File hashes

Hashes for simplecmd_discordpy-1.0.7.tar.gz
Algorithm Hash digest
SHA256 ccdd43ecebe891cd9f4d4d56531b70ed21c9b5517fa3bf8b9b2fff82926cc0fd
MD5 d7952f374fb4443b218bcafa960b1fe3
BLAKE2b-256 29f2fb82619c56757eb80c84f051095d672ebe565893db5faf4d22e6eb59d4b3

See more details on using hashes here.

File details

Details for the file simplecmd_discordpy-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for simplecmd_discordpy-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 91046cd7cfe7634f72043a20e9759763a48b82b665ab37fbee40508dfc4aeec6
MD5 4523399fe42052e6266de560dd0cd419
BLAKE2b-256 ce1e6e2c0a2f8dec31af747840caaaadd615bd723df00c682fc76451d7b9e967

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