본문 바로가기

분류 전체보기49

디스코드 봇 개발 시 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.
Spring Boot - 답변 페이징 https://wikidocs.net/book/7601 점프 투 스프링부트 점프 투 스프링부트는 Spring Boot Board(SBB)라는 이름의 게시판 서비스를 만들어가는 과정을 설명한 스프링부트 입문서이다. 자바 설치부터 시작하여 서비스 운… wikidocs.net "점프 투 스프링부트" 위키독스의 항목 중, 추가 개발 항목에서 답변 페이징 기능에 해당하는 내용이다. 답변 페이징 https://wikidocs.net/162028 3-02 페이징 * `[완성 소스]` : [https://github.com/pahkey/sbb3/tree/3-02](https://github.com/pahkey/sbb3/tree/3-02) … wikidocs.net 해당 문서를 따라 개발을 진행하다 보면, 페이징 기능을.. 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 만들기 - 음성 채널 입장하기 디스코드 봇을 사용해본 경험이 있다면, 유튜브 혹은 사운드 클라우드 등의 앱에서 음악을 재생해주는 봇을 사용해 봤을 수 있다. 여기서는 그러한 음악 재생 봇들의 기본이 될 수 있는 방법인 "봇을 음성 채널에 입장시키는 방법"을 설명해보려 한다. ** 음성 채널 입장의 기본 코드는 discord.py 깃허브를 참조했다. https://github.com/Rapptz/discord.py/tree/master/examples GitHub - Rapptz/discord.py: An API wrapper for Discord written in Python. An API wrapper for Discord written in Python. Contribute to Rapptz/discord.py developme.. 2023. 5. 16.
반응형