Loading src/discord.ts +7 −1 Original line number Diff line number Diff line Loading @@ -274,10 +274,16 @@ class Discord_ { ) { const webhook = await this.getWebhookFor(guild_id, channel_id); const displayName = user.displayname let displayName = user.displayname ? user.displayname + " (" + user.userId + ")" : user.userId; if (displayName.length > 80) { displayName = user.userId; } displayName = displayName.slice(0, 80); let components = []; if (options.replyTo) { Loading Loading
src/discord.ts +7 −1 Original line number Diff line number Diff line Loading @@ -274,10 +274,16 @@ class Discord_ { ) { const webhook = await this.getWebhookFor(guild_id, channel_id); const displayName = user.displayname let displayName = user.displayname ? user.displayname + " (" + user.userId + ")" : user.userId; if (displayName.length > 80) { displayName = user.userId; } displayName = displayName.slice(0, 80); let components = []; if (options.replyTo) { Loading