Closed rdenadai closed 1 month ago
Beleza
Em sáb., 3 de ago. de 2024 13:35, ⟠ Rodolfo De Nadai < @.***> escreveu:
@.**** commented on this pull request.
In nemli/commands/utility/refute.py https://github.com/milharal-dev/nemli-nemlerei-bot/pull/53#discussion_r1702826112 :
@@ -0,0 +1,50 @@ +import nextcord + +from nemli import bot +from nemli.config import settings +from nemli.nlp.llm.chat import OpenAIBot +from nemli.schemas.messages import ParserDiscordMessages +from nemli.services.messages import parse_discord_messages + +openai_client = OpenAIBot() + + @.***_command(name="refute") +async def refute_command(interaction: nextcord.Interaction, reference_message: nextcord.Message):
- print(f"INFO: The summarize command has been called by: @{interaction.user}")
@flipbit03 https://github.com/flipbit03 e @ryukinix https://github.com/ryukinix ... fiz a substituição de todos os print dentro do bot para logger.debug.
— Reply to this email directly, view it on GitHub https://github.com/milharal-dev/nemli-nemlerei-bot/pull/53#discussion_r1702826112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2J57RZP4PYM6K2DXX5JTDZPUBF5AVCNFSM6AAAAABL3G6W6SVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEMJXGEYDSOBXGM . You are receiving this because you were mentioned.Message ID: @.***>
Ficar atento só ao CI, pois ao mudar o nome das variáveis de ambiente, os testes quebraram
Ficar atento só ao CI, pois ao mudar o nome das variáveis de ambiente, os testes quebraram
https://github.com/milharal-dev/nemli-nemlerei-bot/pull/51#issuecomment-2267621160
Adicionei a opção de criar uma operação para refutar uma mensagem de forma divertida...
A operação inicial não é igual aos
slash
commands, mas como um menu no dropdown menu das mensagens.Como resposta: