This bot can run in Android with termux or other OS
Library: Discord.js
- clone this repo
git clone https://github.com/fdciabdul/tmuxdcbot
cd tmuxdcbot
npm install
pkg install ffmpeg
Set Discord Bot Token
config.json
{
"token": "TOKEN_KEY",
"prefix": "!"
}
listgroup
: List groups that have admin accessaddgroup [group_name]
: Add a group to use admin accessremgroup [group_name]
: Remove a group from admin accesssetusername [NAME]
: Set a username for the botsetavatar [URL]
: Set a avatar for the bot to usesetgame [name]
: Sets the name of the game the bot is playing
about
: About this botstats
: View Statsreport
: File a reportuptime
: Uptime of the botsource
: Source linkinvite
: Get invite link for your botsetvc
: set the default voice channel this bot joins when ever the bot connectsjoin
: Bot joins your voice channel
queue
orplaying
: To view songs in queueplay [YT_URL]
: Plays a song from a youtube linkplay [index_number]
: Plays a song from a file that has been saved to the botplay [search key term]
: Plays the first result of youtube searchplay [playlist_name or playlist_index]
: Loads a playlist to queueplay
: Plays song in queue if it has been stoppedstop
: Stops the song from playingskip
: Skips to the next songreplay
: Stops and replays song from the startreadd
: Adds the current song back into queueloop
: Loops the entire queue, putting the current song back into queuelocal
: Displays all the songs saved by the botremove [index_number]
: Removes a specific song from queueremove [#,#,#]
: Removes specific songs from the queue using it's index numbers seperated by commassave [YT_URL]
: Saves a song from youtube and stores itsave
: Saves current song to local instead of downloading it from YT (faster)remlocal [index_number]
: Removes a song that has been saved locallyplaylist
: List all playlistplaylist [playlist_index]
: List the songs of a playlistplaylist save [playlist_name]
: Saves everything that is queued into a playlistplaylist remove [playlist_index]
: Removes a playlistplaylist remove [playlist_index] [playlist_track_index]
: Removes a playlist track from specified playlistplaylist add [playlist_index] [YT_URL]
: Adds YouTube track into a playlist without having it queuedplaylist rename [playlist_name or playlist_index] [new_playlist_name]
: Renames a playlist