自分用のメモです。 discord.pyの2.0からslash commandが使えるようになりました。 ただ、サンプルコードを漁ってもcogを用いた例があまり見つからなかったので、備忘録として残します。 ディレクトリ構成は以下の通りです。 このように discord.Client() を使用して ...
discord.py v.2.0の備忘録その1から非常に間があいてしまいました。 今回はスラッシュコマンドの内容を書いていきます。 (有料記事設定ですが、投げ銭用の措置です。無料ですべての内容が読めます) 一応、スラッシュコマンドとは、bot に対して指示する ...
discord-interactions is, in the simplest terms, a library extension that builds off of the currently existing discord.py API wrapper. While we do use our own basic class code for our own library, a ...
discord-interactions is, in the simplest terms, a library extension that builds off of the currently existing discord.py API wrapper. While we do use our own basic class code for our own library, a ...