#556 EQ2Emu Discord Bridge.

开启中
devn00b3 月之前创建 · 0 条评论
devn00b 评论于 3 月之前

Since I'll be merging in the code for this creating an issue to track bugs and to-dos for this.

** NOTE ** Currently linux support only.

Changes req:

Added rules that require SQL updates. These can be found in DB/updates/DiscordBridgeOptions-2-5-24.sql or below.

Must create a discord bot in the developer portal.

Must create a webhook on the channel desired.

Must get the channel ID for the channel you wish to have the bot monitor.

SQL Updates Required: INSERT INTO ruleset_details (ruleset_id, rule_category, rule_type, rule_value, description) VALUES (1, 'R_Discord', 'DiscordEnabled', '1', 'Enable (1) or Disable(0) the Discord Bridge System.');

INSERT INTO ruleset_details (ruleset_id, rule_category, rule_type, rule_value, description) VALUES (1, 'R_Discord', 'DiscordWebhookURL', 'https://example.com', 'Webhook url for EQ2 -> Discord coms.');

INSERT INTO ruleset_details (ruleset_id, rule_category, rule_type, rule_value, description) VALUES (1, 'R_Discord', 'DiscordBotToken', '0', 'This is the token for the bot, given in the discord developer site.');

INSERT INTO ruleset_details (ruleset_id, rule_category, rule_type, rule_value, description) VALUES (1, 'R_Discord', 'DiscordListenChan', '0', 'Channe ID you want to listen to chat from. this is for Discord -> EQ2 coms.');

For Developers:

All this is behind an #ifdef DISCORD so you must add -DDISCORD and -lDPP in the correct locations.

TODO:

Enable Windows support.

Removal of ifdefs that are unneeded after Windows support is added.

Since I'll be merging in the code for this creating an issue to track bugs and to-dos for this. ** NOTE ** Currently linux support only. Changes req: Added rules that require SQL updates. These can be found in DB/updates/DiscordBridgeOptions-2-5-24.sql or below. Must create a discord bot in the developer portal. Must create a webhook on the channel desired. Must get the channel ID for the channel you wish to have the bot monitor. SQL Updates Required: INSERT INTO `ruleset_details` (`ruleset_id`, `rule_category`, `rule_type`, `rule_value`, `description`) VALUES (1, 'R_Discord', 'DiscordEnabled', '1', 'Enable (1) or Disable(0) the Discord Bridge System.'); INSERT INTO `ruleset_details` (`ruleset_id`, `rule_category`, `rule_type`, `rule_value`, `description`) VALUES (1, 'R_Discord', 'DiscordWebhookURL', 'https://example.com', 'Webhook url for EQ2 -> Discord coms.'); INSERT INTO `ruleset_details` (`ruleset_id`, `rule_category`, `rule_type`, `rule_value`, `description`) VALUES (1, 'R_Discord', 'DiscordBotToken', '0', 'This is the token for the bot, given in the discord developer site.'); INSERT INTO `ruleset_details` (`ruleset_id`, `rule_category`, `rule_type`, `rule_value`, `description`) VALUES (1, 'R_Discord', 'DiscordListenChan', '0', 'Channe ID you want to listen to chat from. this is for Discord -> EQ2 coms.'); For Developers: All this is behind an #ifdef DISCORD so you must add -DDISCORD and -lDPP in the correct locations. TODO: Enable Windows support. Removal of ifdefs that are unneeded after Windows support is added.
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。