Setting up enviroment
- Node.js Version 16.6.0+ Download (opens in a new tab)
- Discord Bot Token Guide (opens in a new tab)
- LavaLink Guide (opens in a new tab)
- Git Download (opens in a new tab)
- MongoDB Download (opens in a new tab) (Optional)
- MySQL Download (opens in a new tab) (Optional)
- After you have downloaded and installed all the requirements, open your terminal or cmd in the directory where you
🛠️ Installation local or vps
- Change the name of config.example.yml to config.yml and fill in the required information.
- run
yarn installto install the required packages. - run
yarn start:prodto build & run the project in production mode. - run
yarn start:devto build & run the project in development mode. - Enjoy Listening To Music With Mewwme!
NOTE you can running with
NPM,YARNorPNPM
🛠️ Installation with Pterodactyl Panel
- Click Here (opens in a new tab) to download the Node.js Egg Template for Pterodactyl.
- Change the name of config.example.yml to config.yml and fill in the required information.
- In the Pterodactyl Panel, go to your server's Startup tab:
- Set
STARTUP COMMAND 1tonpm install.
- Set
- Optionally, if you have a production-ready start command:
- Set
STARTUP COMMAND 2tonpm run start:prod. or run shard systemnpm run start:shard
- Set
- Enjoy Listening To Music With Mewwme!
Click to reveal config.yml
# Version 8.7.3
bot:
TOKEN: "YOUR TOKEN BOT"
EMBED_COLOR: "#ffffff"
OWNER_IDS: ["176144329046360064", "176144329046360064"]
LANGUAGE: "en" # You can set it to en,
LIMIT_TRACK: 10 # The number of tracks you want to limit (playlist add commands)
LIMIT_PLAYLIST: 10 # The number of playlist you want to limit (playlist create commands)
DELETE_MSG_TIMEOUT: 10000
DEBUG_MODE: false
# APIKEY FROM https://api-ninjas.com/
QUOTES_API_KEY: "lYunAQzpvqzsPG2FPWpBI385tU2chaXEgFI6wtrE"
# APIKEY FROM https://genius.com/developers
GENIUS_APIKEY: "oo9GZ7UBa5Z4wb_zu8i2-K-RpxUHK1iURy61q8ETRiYTs1z6HMc3S9NN38Js68hX"
# set music card settings version 1.7.0
# mewwme, mewwme1, themes1, themes2, themes3, themes4, themes5, themes6, themes7, themes8
# themes9, themes10, themes11, themes12, themes13, themes14, themes15, themes16, themes17, themes18, themes19, blank"
THEMES_MUSIC: "themes19"
# set presence activity settings for bot
BOT_ACTIVITY1: "your heart 💖"
BOT_ACTIVITY2: "your dream 🌙"
BOT_ACTIVITY3: "your life 🍀"
BOT_ACTIVITY_TYPE: 1 # 0 = PLAYING, 1 = STREAMING, 2 = LISTENING, 3 = WATCHING, 4 = CUSTOM. 5 = COMPETING
STREAM_URL: "https://www.youtube.com/watch?v=F-wbcMyeq4A" # set stream url activity, support youtube, twitch only
BOT_STATUS: "idle" # online, idle, dnd, invisible
CUSTOM_STATUS: "MADE BY TRAGIC" # set custom status if type is 4
# Images for menu help & commands
IMGURL_HELPMENU: "https://cdn.meww.me/madebytragic/intro.gif"
IMGURL_COMMANDMENU: "https://cdn.meww.me/madebytragic/intro.gif"
REQUEST_IMAGE: "https://cdn.meww.me/madebytragic/req.png"
# button link
SERVER_SUPPORT: "https://meww.me/support"
VOTEURL: "https://meww.me/topgg"
PATREON_URL: "https://meww.me/patreon"
lavalink:
SPOTIFY:
# Your Spotify ID and Secret, you can get it from here: https://developer.spotify.com
# If you don't have or don't want, you can disable it
enable: true
id: "fdf0e2d1da9e40169b5918f73addae04"
secret: "db0fa34ff766490e87e9996c0ae844e0"
# Default search suggestion for auto complete, leave it empty will use default
AUTOCOMPLETE_SEARCH: ["biru baru", "one oke rock", "blackpink"]
LEAVE_TIMEOUT: 10000 # The number of leave time you want
DEFAULT_VOLUME: 50 # Must not over 100 or bot crash
# defautl search engine: youtube, youtube_music, soundcloud, spotify
SEARCH_ENGINE: "spotify"
# You can add more Lavalink servers!
NODES:
- url: "lavalink4.alfari.id:443"
name: "HiddenCatfein"
auth: "catfein"
secure: true
features:
DATABASE:
# Note: If you enter an invalid driver, bot will use json driver as default
driver: "json" # mongodb, mysql, json, postgres
# Config depends on driver, you can see sample README.md
config: { path: "./mewwme.database.json" }
MESSAGE_CONTENT:
enable: true
commands:
enable: true
prefix: "me" # The prefix you want
AUTOFIX_LAVALINK: # Fix the Lavalink server when the current is down
enable: true
reconnectTries: 5
restTimeout: 3000
WEB_SERVER:
enable: false
PORT: 1234
TOPGG_WEBHOOK_AUTH: "madebytragic"
TOPGG_GUILD_ID: "YOUR GUILD ID"
TOPGG_VOTE_LOG_CHANNEL_ID: "YOUR CHANNEL ID"
BUTTON_NAME: "Vote Me"
EMOJI_ID: "<:topgg:1220879943177605241>"
BUTTON_URL: "https://meww.me/topgg"
TOPGG_TOKEN: "YOUR TOPGG TOKEN"
websocket:
enable: false
host: "0.0.0.0" # Default is 0.0.0.0
secret: "-19023454588-MEWWME" # You must add your secret key to use ws. A secret key is anything you want
auth: true
trusted: ["http://localhost:1234"]
# WELCOMER LOGS Member JOIN & LEAVE
WELCOMER_EVENTS:
WELCOMER_GUILD_ID: "YOUR GUILD ID"
WELCOME_CHANNEL_ID: "YOUR CHANNEL ID"
LEAVE_CHANNEL_ID: "YOUR CHANNEL ID"
GREETINGS:
welcome: [ "Hi", "Hallo", "Heyho", "Hola" ]
bye: [ "Adiós", "Bye", "Sayonara" ]
COLOR_GREETINGS: "#ffffff"
COLOR_USERNAME: "#12d760"
BUTTON_NAME: "Invite Me"
EMOJI_ID: "<:plus:1233539744764530800>"
BUTTON_URL: "https://meww.me/invite"
# i set canvas images size 1920px X 480px
IMAGES_WELCOMER:
IMAGES1: "https://cdn.meww.me/bot/mewwme/welcomer/1.png"
IMAGES2: "https://cdn.meww.me/bot/mewwme/welcomer/2.png"
IMAGES3: "https://cdn.meww.me/bot/mewwme/welcomer/3.png"
IMAGES4: "https://cdn.meww.me/bot/mewwme/welcomer/4.png"
IMAGES5: "https://cdn.meww.me/bot/mewwme/welcomer/5.png"
IMAGES6: "https://cdn.meww.me/bot/mewwme/welcomer/6.png"
IMAGES7: "https://cdn.meww.me/bot/mewwme/welcomer/7.png"
IMAGES8: "https://cdn.meww.me/bot/mewwme/welcomer/8.png"
IMAGES9: "https://cdn.meww.me/bot/mewwme/welcomer/9.png"
IMAGES10: "https://cdn.meww.me/bot/mewwme/welcomer/10.png"
IMAGES11: "https://cdn.meww.me/bot/mewwme/welcomer/11.png"
IMAGES12: "https://cdn.meww.me/bot/mewwme/welcomer/12.png"
IMAGES13: "https://cdn.meww.me/bot/mewwme/welcomer/13.png"
IMAGES14: "https://cdn.meww.me/bot/mewwme/welcomer/14.png"
IMAGES15: "https://cdn.meww.me/bot/mewwme/welcomer/15.png"
IMAGES16: "https://cdn.meww.me/bot/mewwme/welcomer/16.png"
IMAGES17: "https://cdn.meww.me/bot/mewwme/welcomer/17.png"
IMAGES18: "https://cdn.meww.me/bot/mewwme/welcomer/18.png"
IMAGES19: "https://cdn.meww.me/bot/mewwme/welcomer/19.png"
IMAGES20: "https://cdn.meww.me/bot/mewwme/welcomer/20.png"
SERVER_SUPPORT:
GUILD_LOG_CHANNEL_ID: "YOUR CHANNEL ID"
REDEEM_LOG_CHANNEL_ID: "YOUR CHANNEL ID"
UPDATE_CHANNEL_ID: "YOUR CHANNEL ID"
SUGGESTION_CHANNEL_ID: "YOUR CHANNEL ID"
BUG_REPORT_CHANNEL_ID: "YOUR CHANNEL ID"
GENERATE_LOG_CHANNEL_ID: "YOUR CHANNEL ID"
RATING_LOG_CHANNEL: "YOUR CHANNEL ID"
IMAGES_TICKET: "https://cdn.meww.me/madebytragic/ticket.png"
LOGGER_ERROR_CHANNEL_ID: "YOUR CHANNEL ID"
# Emoji config for discord message content in select menu
# https://discord.gg/rBRzcjExDY join the discord server if you want to use existing emoji
EMOJI:
E_HOME: "<:home:1220841898449703052>"
E_INFO: "<:info:1220848388455661608>"
E_MUSIC: "<:music:1220842323760648443>"
E_FILTER: "<:filter:1220842420514590801>"
E_PLAYLIST: "<:playlist:1220841993559609375>"
E_UTILS: "<:utils:1220842590123851866>"
E_SETTING: "<:setting:1220842034726830280>"
E_DEV: "<:dev:1220842814200352819>"
E_ALLCMD: "<:allcmd:1220841924936601704>"
E_INVITE: "<:plus:1233539744764530800>"
E_SUPPORT: "<:supports:1220844767236198510>"
E_VOTE: "<:topgg:1220879943177605241>"
E_PREMIUM: "<:premium:1220842373614010420>"
E_ALLCATEGORIES: "<:sparkle:1220846124961890304>"
EMOJI_PLAYER:
PLAY: "<:play:1220839345938763978>"
PAUSE: "<:pause:1220831927595175949>"
LOOP: "<:loop:1220832757496811570>"
SHUFFLE: "<:shuffle:1220832098651340810>"
STOP: "<:stop:1220831796430897272>"
SKIP: "<:skip:1220831656143753317>"
PREVIOUS: "<:previous:1220831746325479436>"
VOLDOWN: "<:voldown:1220831827825135637>"
VOLUP: "<:volup:1220831844766060554>"
ARROW_NEXT: "<:next:1220832036101820508>"
ARROW_PREVIOUS: "<:back:1220832007303594086>"
QUEUE: "<:queue:1220834363818770432>"
RESUME: "<:pause:1220831927595175949>"
DELETE: "<:bin:1220831964890927235>"
HELPER_SETUP:
NAME1: "View Rules"
NAME2: "Select Roles"
NAME3: "Support Us"
EMOJI1: "<:write:1220884452247339009>"
EMOJI2: "<:partner:1220884850513285264>"
EMOJI3: "<:loves:1225140515616591953>"
VIEW_RULES:
ROLE_ID: "YOUR ROLE ID"
ROLE_NAME: "Accept"
NAME1: "Discord Terms & Service"
NAME2: "Discord Community Guildlines"
NAME3: "Mewwme's Website"
NAME4: "Mewwme's Terms & Service"
NAME5: "Mewwme's Privacy Policy"
URL1: "https://discord.com/terms"
URL2: "https://discord.com/guidelines"
URL3: "https://meww.me"
URL4: "https://meww.me/termsofservice"
URL5: "https://meww.me/privacy"
SELECT_ROLES:
NAME1: "NAME ROLES"
NAME2: "NAME ROLES"
NAME3: "NAME ROLES"
NAME4: "NAME ROLES"
ID1: "ROLE ID"
ID2: "ROLE ID"
ID3: "ROLE ID"
ID4: "ROLE ID"
SUPPORT_US:
NAME1: "Invite Me"
NAME2: "Vote Me"
NAME3: "Patreon Page"
URL1: "https://meww.me/invite"
URL2: "https://meww.me/topgg"
URL3: "https://meww.me/patreon"
EMOJI1: "<:plus:1233539744764530800>"
EMOJI2: "<:topgg:1220879943177605241>"
EMOJI3: "<:premium:1220842373614010420>"
HELPDESK:
HELPDESK_LOGS_CHANNEL_ID: "YOUR CHANNEL ID"
EMOJI1: "<:1_:1225102816960446515>"
EMOJI2: "<:2_:1225102818822721598>"
EMOJI3: "<:3_:1225102823386255380>"
EMOJI4: "<:4_:1225102825197932624>"
EMOJI5: "<:5_:1225102827068723361>"
EMOJI6: "<:6_:1225102828666622034>"
EMOJI7: "<:7_:1225102830734413916>"
EMOJI8: "<:8_:1225102832558931968>"
EMOJI9: "<:9_:1225102834379395132>"
EMOJI10: "<:10_:1225102836430405693>"
BUTTON_HELPDESK10:
NAME1: "Invite"
NAME2: "Vote"
NAME3: "Patreon"
URL1: "https://meww.me/invite"
URL2: "https://meww.me/topgg"
URL3: "https://meww.me/patreon"
EMOJI1: "<:plus:1233539744764530800>"
EMOJI2: "<:topgg:1220879943177605241>"
EMOJI3: "<:premium:1220842373614010420>"
# permission check select menu filter, "Member", "Voter", or "Premium"
SELECT_MENU_FILTER:
placeholder: "Mewwme's filter effects ♪"
emoji_reset: "<:loop:1220832757496811570>"
emoji_filter: "<:pop:1220849334606626946>"
reset: "Member"
threed: "Member"
bass: "Member"
bassboost: "Member"
chipmunk: "Member"
darthvader: "Member"
daycore: "Member"
doubletime: "Member"
earrape: "Member"
karaoke: "Member"
nightcore: "Member"
pitch: "Member"
pop: "Member"
rate: "Member"
slowmotion: "Member"
soft: "Member"
speed: "Member"
superbass: "Member"
china: "Member"
televison: "Member"
treblebass: "Member"
tremolo: "Member"
vaporwave: "Member"
vibrate: "Member"
vibrato: "Member"
# permission check player button src/buttons, "Member", "Voter", or "Premium"
PLAYER_BUTTON:
clear: "Member"
loop: "Member"
pause: "Member"
previous: "Member"
queue: "Member"
shuffle: "Member"
skip: "Member"
stop: "Member"
volume_down: "Member"
volume_up: "Member"
# permission check player button src/handler/player/buttoncommand, "Member", "Voter", or "Premium"
SETUP_BUTTON:
loop: "Member"
pause: "Member"
previous: "Member"
skip: "Member"
stop: "Member"Top.gg vote logs
Example : http://localhost:6969/vote (opens in a new tab) endpoint /vote
Permissions
accessableby = Accessableby.Owner;- For premium access, set
Accessableby.Premium. - Admins in the server can execute specific commands by setting
Accessableby.Manager. - Full access to certain commands is reserved for the bot owner. Set
Accessableby.Ownerif you're the bot owner. - Accessableby.Owner, Accessableby.Member, Accessableby.Manager, Accessableby.Premium
Supported Databases
- MySQL
- MongoDB
- JSON
- PostgresSQL
- Full TypeScript Language To Avoid Errors In Production Code.
Setup Lavalink
- Please use latest version https://github.com/lavalink-devs/Lavalink/releases/download/4.0.4/Lavalink.jar (opens in a new tab)
- Application.yml https://raw.githubusercontent.com/mewwme/lavalink/main/application.yml (opens in a new tab)
EMOJI
you can customize emoji on your own server, or if you want to use this default emoji please dm or open ticket
- you can change, add or edit text/emoji check
LANGUAGESFolder