Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

It’s not actually MQ2Discord that is the problem. It’s the underlying library (sleepy-discord). So you wouldn’t see a code change in MQ2Discord, you’d see it in vcpkg. What commit are you on for your vcpkg submodule?Was having same problems with the pre-compiled plugins that came with the update. I pulled the source to see if I could fix it, but didn't make any changes and it's working fine now after a simple rebuild of the plugin. Not sure if there was maybe just something that got corrupted with the pre-compile/update since there hasn't been any source changes for MQ2Discord in 2 months.
Running off the latest commit for vcpkg from 21 Apr 22 for the ZeroMQ MSVC fix.It’s not actually MQ2Discord that is the problem. It’s the underlying library (sleepy-discord). So you wouldn’t see a code change in MQ2Discord, you’d see it in vcpkg. What commit are you on for your vcpkg submodule?
Last time the issue was with curl, but that also impacted the launcher (not the RG one) since the non-RG one checks for updates. This time I tested that and it wasn’t a problem so I assumed Discord wouldn’t be an issue either, but I haven’t had a chance to test Discord.
Hi Knightly, I followed this guide: https://gitlab.com/alynel/mq2discord/-/blob/master/docs/Create_Bot_Account.mdWhich setup guide did you follow? The one in the git repo?
That's the right guide... they probably changed their token again and I really should just remove the token validator and let the chips fall where they may. But, just in case...paste your code here:Hi Knightly, I followed this guide: https://gitlab.com/alynel/mq2discord/-/blob/master/docs/Create_Bot_Account.md
looks like it doesThat's the right guide... they probably changed their token again and I really should just remove the token validator and let the chips fall where they may. But, just in case...paste your code here:
![]()
regex101: build, test, and debug regex
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET, Rust.regex101.com
Does it match?

I copied and pasted the YAML config from the wiki https://www.redguides.com/docs/projects/mq2discord/. Then just changed the toekn and user_ids. Thanks for your help im sure im missing something sillyIn that case, make sure your yaml file is formatted properly. You can use this example: https://gitlab.com/alynel/mq2discord/-/blob/master/docs/MQ2Discord.example.yaml
Commits
- Update Regex & Connected message
- Update regex for new discord token string (but remove regex check)
- Since the regex check is removed, change connected message to "ready"
(c86d31d)

Discord recently made security changes in regards to bot permissions. Old bots shouldn't be affected but the new ones you'll need to go into your Discord Developer Portal and make an update.
Once you're there select the bot you're using then enable "Message Content Intent". Once that's enabled you will be prompted to save your changes. Maybe go ahead and `/reload discord` for good measure.
5:34 AM]Coldblooded: Depending on what you want to do with discord, with a dozen lines of lua you can broadcast anything you want to discord.
local mq = require('mq')
local http = require("socket.http")
local ltn12 = require("ltn12")
local webhookUrl = "insert your webhook url here"
local function sendMessage(line)
local body = string.format('{ \"content\" : \"%s\" }', line)
http.request {
url = webhookUrl,
method = "POST",
headers = {
["Content-Type"] = "application/json",
["Content-Length"] = #body
},
source = ltn12.source.string(body)
}
end
mq.event('Everything', '#*#', sendMessage)
while true do
mq.doevents()
mq.delay(250)
end
/discord reload
i think you are using the wrong ids for your channel, since you put bot id, that should be channel id, the id you get from when you right click your channels, in your discordI decided to give this a whirl but is kicking my butt!! Can you folks see what is wrong here? I have a total of 7 toons in this yaml. I followed (I think) all the instructions and use the example.yaml to populate mine. When I runI get a ready message, but in the debug I seeCode:/discord reload
View attachment 43429
Here is my yaml
[CODE lang="yaml" title="yaml"]token: mytoken
user_ids:
- my actual user id on Discord
characters:
firiona_blahblah
- name: CharChannel (This field is ignored)
id: bot id
allowed:
- "[MQ2Discord]#*#"
- "[MQ2]#*#"
- "#*# tells you,#*#"
- "#*#out of character#*#"
- "#*#shouts,#*#"
blocked:
[]
notify:
- "[AlertMaster]#*#"
prefix: ""
send_connected: true
allow_commands: true
show_command_response: 2000
firiona_blahblah2
- name: CharChannel (This field is ignored)
id: bot id
allowed:
- "[MQ2Discord]#*#"
- "[MQ2]#*#"
- "#*# tells you,#*#"
- "#*#out of character#*#"
- "#*#shouts,#*#"
blocked:
[]
notify:
- "[AlertMaster]#*#"
prefix: ""
send_connected: true
allow_commands: true
show_command_response: 2000
servers:
{}
classes:
{}
groups:
- name: YourGroup
characters:
- firiona_1
- firiona_2
- firiona_3
- etc - have 7 chars here
channels:
- name: Deaths
id: channel id
allowed:
- You have been slain by
blocked:
[]
notify:
[]
prefix: "[${Me.Name}]"
send_connected: true
allow_commands: false
show_command_response: 0
all:
- name: TellsChannel
id: channel id
allowed:
- tells you
blocked:
- "|${Me.Pet.DisplayName}| tells you#*#"
notify:
[]
prefix: "[${EverQuest.Server}_${Me.Name}]"
send_connected: true
allow_commands: false
show_command_response: 0[/CODE]

Thank you for your help kaen. I updated the ids and when I launched MQ the bot came online as expected. However, I am not getting any notifications from in-game whether is tells or shout. Also when I send a command from Discord it does not show in-game.i think you are using the wrong ids for your channel, since you put bot id, that should be channel id, the id you get from when you right click your channels, in your discord
View attachment 43441
send_connected: true
allow_commands: false
show_command_response: 0
send_connected: true
allow_commands: true
show_command_response: 2000
That didn't do it. For some reason it is not liking something about the channels. Debug keeps giving me the "Unknown Channel" message. I am Googling and searching RG Forums it but not coming up with anythingfor some of your channels you have:
i think you need to make them more likeCode:send_connected: true allow_commands: false show_command_response: 0
Code:send_connected: true allow_commands: true show_command_response: 2000

Hey Knightly, I just re-read this example you posted and I think that may have to do something with the issue I am encountering. When setting up your characters, do you use your actual Discord User ID for all of them, or do you have to create users for them in Discord and get their IDs? For example, I have this for my yaml but I keep getting the error message I posted aboveHere's one example:
![]()
You can send characters to the same channel or different channels, using the channel ID. You can also have one character send things to multiple channels, but I didn't make an example for that, I just did a basic one to get people started.
Discord is fixed, I let Redbot know to pull the submodule so it can be in the next build.
What was not clear is that you have to create channels for each thing you want to get. So create a channel in Discord for tells, one for say, etc. Use those IDs for your channels. So for example now I have
