GetaBot

Play Youtube on Discord.

HakaTime

How to use

( English explanation below )

必要なもの

手順

  1. Getabot.py , SEフォルダー , ffmpeg をダウンロード・インストールし、同一ディレクトリに配置してください。
    (ffmpegはbinフォルダー内のexeファイルのみ配置で大丈夫です。)

ディレクトリ

/
|- gatabot.py
|
|- SE 
|  |-nun.mp3
|  |-noti.mp3
|
|-ffmpeg.exe
|-ffplay.exe
|-ffprove.exe
|
|-runbot.bat
  1. 以下のライブラリーをインストールしてください。
    (インストール済みの場合はインストール不要です。3に進んでください。)
pip install discord
pip install discord.py[voice]
pip install yt-dlp==2025.01.12
pip install ffmpeg-python
  1. トークンを入力して実行
~~~~~ 省略 ~~~~~
###Commands End###
client.run("YourTokenHere") ←ここに取得したTOKENを貼り付けてください。
  1. Enjoy!!

Commands

Getabotのコマンドはアプリケーションコマンドです。そのため / と入力をすると予測が出てきます。

join

コマンドを実行した人が参加しているサーバーにBOTを参加させます。

leave

ボイスチャンネルからBOTを退出させます。

play [ YoutubeのURL ]

入力したURLの曲を再生します。

pause

再生中の曲を一時停止します。

replay

一時停止中の曲を再生再開します。

stop

再生中の曲を再生停止します。

Support

email
X Discord


English

How to Use

Prerequisites

Steps

  1. 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.)

    Directory Structure

    
    /
    |- getabot.py
    |
    |- SE
    |  |- nun.mp3
    |  |- noti.mp3
    |
    |- ffmpeg.exe
    |- ffplay.exe
    |- ffprobe.exe
    |
    |- runbot.bat
        
    
  2. 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
    
  3. Enter your token and run the bot.

    ~~~~~~~~~ (Omitted) ~~~~~~~~~
    ###Commands End###
    client.run("YourTokenHere") # Paste your obtained TOKEN here.
    
  4. Enjoy!


Commands

GetaBot commands are application commands. Type / to see command suggestions.

join

Makes the bot join the voice channel that the command executor is currently in.

leave

Makes the bot leave the voice channel.

play [YouTube URL]

Plays the song from the provided YouTube URL.

pause

Pauses the currently playing song.

replay

Resumes a paused song.

stop

Stops the currently playing song.

Support

email
X Discord