Biblioteca pioneira para bots Discord 2025, 100% brasileira, com suporte a IA, voz, OAuth2 e interações modernas.
Project description
Code.py
Code.py e uma biblioteca pioneira para criacao de bots Discord em 2025, 100% brasileira, projetada para ser simples, poderosa e moderna. Com suporte a IA, voz, OAuth2 e interacoes modernas, e ideal para desenvolvedores que querem criar bots inovadores.
Instalacao
Instale via pip:
pip install code-py
Pre-requisitos
- Python: 3.12.7 ou superior
- Dependencias: aiohttp>=3.11.17, redis>=5.2.1, pydub>=0.25.1, pyopus>=0.3.0
Funcionalidades
- Voz Avancada: TTS com ElevenLabs, STT com Whisper, reproducao multimidia (pydub, Opus, VLC).
- IA Integrada: Geracao de texto com Grok (xAI).
- OAuth2 Nativo: Autenticacao fluida.
- Comandos Modernos: Slash commands, autocomplete, sincronizacao incremental.
- Escalabilidade: Sharding, cache com Redis.
Exemplo
from codepy import Code, Inter, Embed, Cmd
bot = Code.criar_bot(prefix="!")
@bot.cmd("ola", desc="Diz ola", opts=[{"nome": "user", "desc": "Usuario", "tipo": "user"}])
async def ola(inter: Inter, user: User):
embed = Embed(tit="Ola", desc=f"Saudacoes, {user.nome}!", cor=0x00FF00)
await inter.resp("Ola!", embed=embed)
Code.rodar(bot, "SEU_TOKEN_AQUI")
Contribuicao
- Fork: github.com/LucasDesignerF/code-py
- Clone, crie uma branch, e envie um Pull Request.
Contato
- Autor: Lucas Dev - RedeBots
- Email: ofc.rede@gmail.com
- Discord: Code Projects by RedeBots
- PyPI: codeco2024
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
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 codepy_redebots-1.0.0.tar.gz.
File metadata
- Download URL: codepy_redebots-1.0.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71b00c0ab26c2d951d1a2a04ac01924e0c739d2f96ae389a4fdd2da242b69127
|
|
| MD5 |
47ba8af1ae70336abbd1433c39cedf1a
|
|
| BLAKE2b-256 |
9e36bb413b19cbb05c7fd1a4f3e6ce62511a20519cfb732b0bbb360840cf7b40
|
File details
Details for the file codepy_redebots-1.0.0-py3-none-any.whl.
File metadata
- Download URL: codepy_redebots-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de536d8159af623f57d85c3788de8da81635085931154d3ed730e4bcdd5d15e2
|
|
| MD5 |
2ef5348d06ce3090856c2773e00b20c2
|
|
| BLAKE2b-256 |
5936bd0ccaddef48651ef8aa7f973b8f768309d6c2ebd55764b3f1ca3452cd82
|