use display name instead of username for discord messages
This commit is contained in:
parent
d21fd5d71a
commit
fa2c909cbc
2 changed files with 6 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ export class Message{
|
|||
this.text = await this.escapeDiscordPing(discord_message.content, discordClient)
|
||||
console.log("escaped text", this.text);
|
||||
this.channel = discord_message.channelId
|
||||
this.author = discord_message.author.username
|
||||
this.author = discord_message.author.displayName;
|
||||
this.source_type = "discord"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"verbose": true,
|
||||
"discordChannels": ["1335942797726846989", "1335962777063264326"],
|
||||
"ircChannels": ["#vincentdev"]
|
||||
"discordChannels": [
|
||||
"1161739009614151751",
|
||||
"727212463988146206"
|
||||
],
|
||||
"ircChannels": ["#urlab"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue