본문 바로가기

디스코드봇3

디스코드 봇 개발 시 Error 관련 Error Solution 1. AttributeError가 발생하는 경우 더보기 디스코드 버전 업데이트 및 필요 모듈 설치 CMD 관리자 권한 실행 → pip install -U git+https://github.com/Rapptz/discord.py pip install py-cord, discord-ui 아래 사이트에서 Bot → Intents 3개 모두 체크 Discord Developer Portal - API Docs for Bots and Developers Discord Developer Portal — API Docs for Bots and Developers Integrate your service with Discord — whether it's a bot or a game or wh.. 2023. 5. 30.
Discord Bot 만들기 - 유튜브 음악 재생 봇 Discord Bot 만들기 - 음성 채널 입장하기 python >>> import sys >>> sys.executable **** youtube_dl의 extract id 관련 오류로 인해 yt_dlp 설치 pip install yt_dlp 💡 만약 PyNaCl 오류가 발생하거나 설치가 되지 않는다면? CMD 관리자 권한으로 실행 → py -3 -m pip install -U discord.py[voice] py -3 -m pip install discord.py[voice] 디스코드에서 봇을 이용하여 음악 재생하기 사용 전 설정하기 먼저 이 코드를 실행시키기 위해서는 디스코드 개발자 포털 - Bot 탭에서 message contents가 사용 설정 되어있어야 하고, yt_dlp를 import 시켜야.. 2023. 5. 18.
Discord Bot 만들기 - 초기 설정하기 및 API, 명령어 리스트 초기 설정하기 기본 공식 문서는 다음에서 확인 가능 Welcome to discord.py Welcome to discord.py discordpy.readthedocs.io 개발자 포털 이동 Discord Developer Portal - API Docs for Bots and Developers Discord Developer Portal — API Docs for Bots and Developers Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with. discord.com 2. 좌측 Application → New Application .. 2023. 5. 11.
반응형