- This project is created purely for entertainment purposes. I do not endorse using selfbots to create disturbances on public servers.
SelfMusic is a Music Selfbot coded in JavaScript (Discord.JS). It can play songs from YouTube search results in a voice channel while acting as a selfbot, meaning it uses a user account to play songs.
- This has many Uses in Itself, For Example: You can just Play music in any server without needing a dedicated bot or special permissions.
This selfbot is built with unique logic, eliminating the need for music APIs like LavaLink or MoonLink. It can download specific music as an mp3 file and play it directly.
It also saves the same music file in the /musics
folder for future use, so you only need to download a song once and can play it again without downloading it
- Soundboard: Use the bot as a soundboard without permissions. Simply place an .mp3 file in the
/musics
folder and run the play command with the file name. - Text to Speech (TTS): Run a command and the selfbot will speak the message using TTS.
- ALT Account: Run the selfbot on a different ALT account and grant admin access to your main account. The bot will respond to your commands
Configure config.yaml
as needed. Follow these steps to set up the selfbot properly. After configuring, run index.js
. For any module errors, use the manual installation process.
- Get a Discord Account Token (not a bot token) and add it to the config file.
- Set a Prefix: Define the prefix for selfbot actions. (Default:
,
) - User ID Access: Provide the User ID for those who can access the selfbot. (
⚠️ Caution: Those User IDs can use selfbot commands.) - Default Volume: Set the default volume multiplier for songs. (Default: 1x)
- TTS Settings: Do not alter unless you are familiar with the configurations.
If all steps are completed without errors, you can run ,help
to view available commands.
To install the necessary modules, run the following command in Terminal:
npm install discord.js-selfbot-v13 fs js-yaml google-tts-api lyrics-finder @discordjs/voice
Then, start the bot with:
node index.js
This Selfbot is Deisgned and Developed by SHREYANSH (Discord: shreyansh.org)
- For any assistance regarding the code, feel free to DM me on Discord.