招待用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 ...
前回は作成するアプリケーションの全体像と、開発環境で使うDockerを紹介しました。今回はDiscordからメッセージを送信して、そのメッセージをEC2上で受け取るプログラムを作成します。 今回の概要とその準備 Discord上で使える!makeコマンドを作成し ...
本サイトはアフィリエイト広告を含みます。 「Discordコミュニティ運用術」の第6回は、「Discord」の拡張機能である「BOT」の基本的な使い方を紹介していきます。 Discordコミュニティの運用・代行なら「ギルドロケット」 ギルドロケットの概要・効果などに ...
本サイトはアフィリエイト広告を含みます。 「Discordコミュニティ運用術」の第7回は、「Discord」で導入したいおすすめBOT特集! 各BOTのコマンドや基本的な使い方もあわせて紹介します。 Discordコミュニティの運用・代行なら「ギルドロケット」 ギルド ...
Suchit is a gaming enthusiast whose main focus is on everything mobile gaming. He is obsessed with anime and in his free time, likes to trawl on Twitter and Reddit. Discord is the go-to platform for ...