diff --git a/Bridge/class/Message.js b/Bridge/class/Message.js index 5018fe6..34c5392 100644 --- a/Bridge/class/Message.js +++ b/Bridge/class/Message.js @@ -14,15 +14,15 @@ export class Message { this.text += discord_message.attachments.map((a) => a.url).join("\n"); console.log("escaped text", this.text); this.channel = discord_message.channelId; - this.author = discord_message.author.displayName; + this.author = discord_message.author.username; // using user name here so users in irc can use that info to cross ping this.source_type = "discord"; } fromIRCFormat(irc_message) { - (this.text = irc_message.message), + ((this.text = irc_message.message), (this.channel = irc_message.target.toLowerCase()), (this.author = irc_message.nick), - (this.source_type = "irc"); + (this.source_type = "irc")); } async escapeDiscordPing(text, client) { diff --git a/config.json b/config.json index 6183823..22124a3 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { - "verbose": true, - "discordChannels": ["1335942797726846989", "1335962777063264326"], - "ircChannels": ["#vincentdev"], + "verbose": false, + "discordChannels": ["1161739009614151751", "727212463988146206"], + "ircChannels": ["#urlab"], "discordAppId": "866317638337953792" }