Play Youtube on Discord.
( English explanation below )
GetaBot本体 (ダウンロード)
ffmpeg(インストール)
/
|- gatabot.py
|
|- SE
| |-nun.mp3
| |-noti.mp3
|
|-ffmpeg.exe
|-ffplay.exe
|-ffprove.exe
|
|-runbot.bat
pip install discord
pip install discord.py[voice]
pip install yt-dlp==2025.01.12
pip install ffmpeg-python
~~~~~ 省略 ~~~~~
###Commands End###
client.run("YourTokenHere") ←ここに取得したTOKENを貼り付けてください。
Getabotのコマンドはアプリケーションコマンドです。そのため / と入力をすると予測が出てきます。
コマンドを実行した人が参加しているサーバーにBOTを参加させます。
ボイスチャンネルからBOTを退出させます。
入力したURLの曲を再生します。
再生中の曲を一時停止します。
一時停止中の曲を再生再開します。
再生中の曲を再生停止します。
GetaBot Core (Download)
Python Environment (Install)
pip
executable environment (if you haven’t installed libraries yet)FFmpeg (Install)
BOT TOKEN (Create an application here and get the TOKEN from the BOT tab.)
Download and install getabot.py, the SE folder, and FFmpeg, then place them in the same directory. (For FFmpeg, only the .exe files within the bin folder are needed.)
/
|- getabot.py
|
|- SE
| |- nun.mp3
| |- noti.mp3
|
|- ffmpeg.exe
|- ffplay.exe
|- ffprobe.exe
|
|- runbot.bat
Install the following libraries. (If already installed, skip this step and proceed to step 3.)
pip install discord
pip install discord.py[voice]
pip install yt-dlp==2025.01.12
pip install ffmpeg-python
Enter your token and run the bot.
~~~~~~~~~ (Omitted) ~~~~~~~~~
###Commands End###
client.run("YourTokenHere") # Paste your obtained TOKEN here.
Enjoy!
GetaBot commands are application commands. Type /
to see command suggestions.
Makes the bot join the voice channel that the command executor is currently in.
Makes the bot leave the voice channel.
Plays the song from the provided YouTube URL.
Pauses the currently playing song.
Resumes a paused song.
Stops the currently playing song.