jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
5.33k stars 2.55k forks source link

[Bug Report] T #1617

Closed Melonrin closed 3 months ago

Melonrin commented 3 months ago

Bug Description

Hello dev! I can't use my own prefix like, "mm!" or "?". Bot only read mention prefix, "@BOT help". I'm not sure why this happend. On previous version, it works fine with custom prefix. image

Steps to Reproduce

I change the prefix on config then I only able to use mention prefix. The custom prefix it dind't work. I also tried to set the custom prefix on commands, but it didn't change anything. The custom prefix still dind't work.

Expected Result

Cannot using custom prefix

Debug Output

[16:07:02] [INFO] [JMusicBot]: Loaded config from C:\Users\ASUS\OneDrive\Documents\Personal Files\MMusic Bot\config.txt [16:07:02] [DEBUG] [RateLimiter]: Caching bucket hash GET/gateway -> 0a6d458104b103c7be293cc9b284d9ee [16:07:02] [DEBUG] [Requester]: Received response with following cf-rays: [8a305c7a8c9149d8-SIN] [16:07:03] [DEBUG] [RateLimiter]: Caching bucket hash GET/users/@me -> 78bb8553d9352a5a2f89f9def401287a [16:07:03] [DEBUG] [Requester]: Received response with following cf-rays: [8a305c7bbeba49d8-SIN] [16:07:03] [INFO] [JDA]: Login Successful! [16:07:03] [DEBUG] [SessionControllerAdapter]: Creating new worker handle for shard pool 0 [16:07:03] [DEBUG] [SessionControllerAdapter]: Running worker [16:07:03] [DEBUG] [SessionControllerAdapter]: Running connect node for shard Shard [0 / 1] [16:07:03] [DEBUG] [RateLimiter]: Caching bucket hash GET/oauth2/applications/@me -> d28a133af187e91d71d96a223467ce49 [16:07:03] [DEBUG] [Requester]: Received response with following cf-rays: [8a305c7df9c349d8-SIN]

[16:07:03] [INFO] [WebSocketClient]: Connected to WebSocket [16:07:03] [DEBUG] [WebSocketClient]: Connected with gateway intents: 1011010000001 [16:07:03] [DEBUG] [WebSocketClient]: Sending Identify-packet... [16:07:03] [DEBUG] [WebSocketClient]: Got HELLO packet (OP 10). Initializing keep-alive. [16:07:03] [DEBUG] [GuildSetupController]: Setting incomplete count to 1 [16:07:03] [DEBUG] [GuildSetupController]: Starting 75 second timeout for 1 guilds [16:07:03] [INFO] [JDA]: Finished Loading! [16:07:03] [DEBUG] [GuildSetupController]: Finished setup for guild 499941492882800640 firing cached events 0 [16:07:04] [DEBUG] [WebSocketClient]: Sending normal message {"op":3,"d":{"activities":[{"name":"Type mm!help","type":0}],"afk":false,"since":1720948023970,"status":"online"}} [16:07:04] [DEBUG] [RateLimiter]: Caching bucket hash GET/users/{user_id} -> 06f50622af95a11ccfb8304b866ed5b0 [16:07:04] [DEBUG] [Requester]: Received response with following cf-rays: [8a305c83888b49d8-SIN] [16:07:24] [DEBUG] [RateLimiter]: Caching bucket hash POST/channels/{channel_id}/messages -> 3df15bae86f6647dd4dfcbd5c6949480 [16:07:24] [DEBUG] [Requester]: Received response with following cf-rays: [8a305d038b48410c-SIN] [16:07:32] [DEBUG] [RateLimiter]: Removed 10 expired buckets

Additional Info

No response

Checklist

JMusicBot Version

0.4.2

Melonrin commented 3 months ago

Here's my config config.txt

ALocked1 commented 3 months ago

Refer to the following

Melonrin commented 3 months ago

Thank you so much it fixed!