「discord.py」による簡易Botの作成を試したので、まとめました。 1. discord.py 「discord.py」は、モダンで使いやすく、機能が豊富で、非同期対応のdiscord APIラッパーです。 特徴は、次のとおりです。 Discord Developer Portal で、Botアカウントを作成します。 (1) Discord ...
Part.1ではBotの導入からメッセージを送る->メッセージを返す、メンションを飛ばす、まで行きました。 基本的な機能はあれで終わりなのでここからは機能を一つ一つ説明していきながら、必要なら各々取り込んでもらって…という形式でお願いします。
Below is a samplebot.py that uses discord.py (or py-cord) to connect your agent to Discord. You can adapt it to whichever agent you prefer (MistralAgent, OpenAIAgent, ClaudeAgent, etc.).
Discord-py-cogs/ ├── bot.py # 機器人主程式入口 ├── settings.py # 配置文件管理 ├── requirements.txt # 依賴套件清單 ...
前回は作成するアプリケーションの全体像と、開発環境で使うDockerを紹介しました。今回はDiscordからメッセージを送信して、そのメッセージをEC2上で受け取るプログラムを作成します。 今回の概要とその準備 Discord上で使える!makeコマンドを作成し ...
Discord is an IRC-like chat platform that all the young cool kids are hanging out on. Originally intended as a way to communicate during online games, Discord has grown to the point that there are ...