招待用URLを開いて自分のサーバーに導入する Bot プログラムの作成と起動 まずBotプログラム用のフォルダを作成 VSCode でそのフォルダを開く メニュー -> ファイル -> フォルダを開く 以下のプログラムを作成して保存 main.py として保存 import discord from discord.ext ...
前回は、Discordアカウント、サーバー、Botの作成までを学びました。今回は、いよいよBotを実際に動かすステップに進みます! Discord Botを動かすために、`discord.py` というライブラリを使います。以下のコマンドをターミナルまたはコマンドプロンプトで実行 ...
/ping - a simple command that tells you the bot's latency. And you can easily create and add more commands yourself! . ├─ src/ # Source code │ ├─ cogs/ # All command files │ │ └─ ping.py # Ping ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する