招待用URLを開いて自分のサーバーに導入する Bot プログラムの作成と起動 まずBotプログラム用のフォルダを作成 VSCode でそのフォルダを開く メニュー -> ファイル -> フォルダを開く 以下のプログラムを作成して保存 main.py として保存 import discord from discord.ext ...
A production-ready Discord bot template built with discord.py 2.x, featuring slash commands, cogs architecture, moderation tools, and Docker support. ├── main.py # Entry point ├── bot/ │ ├── client.py ...
前回は、Discordアカウント、サーバー、Botの作成までを学びました。今回は、いよいよBotを実際に動かすステップに進みます! Discord Botを動かすために、`discord.py` というライブラリを使います。以下のコマンドをターミナルまたはコマンドプロンプトで実行 ...
前回は作成するアプリケーションの全体像と、開発環境で使うDockerを紹介しました。今回はDiscordからメッセージを送信して、そのメッセージをEC2上で受け取るプログラムを作成します。 今回の概要とその準備 Discord上で使える!makeコマンドを作成し ...
Over the last five or so years, Discord has consistently shown that it is the instant messaging platform for not only gamers but anyone looking to message, video chat, or stream with friends online.