0
0

discord.Botはpycordのバージョン2.0.0でしか使えません

Posted at

概要

pycordのver.2.00以外のバージョンでdiscord.Bot()を使うと、以下のエラーが発生する

AttributeError: module 'discord' has no attribute 'Bot'

[解決策]
以下のコマンドでpycordのバージョンを下げる

pip install py-cord==2.0.0rc1

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0