|
// try and get avatar for matching user |
|
var avatarUrl: String? = null |
|
val matchingUsers = guild.getMembersByEffectiveName(msg.sender.displayName, true) |
|
if (matchingUsers.isNotEmpty()) { |
|
avatarUrl = matchingUsers.first().user.avatarUrl |
|
} |
should be removed, and instead there should be a default profile picture used.
As a replacement, there should be user configured profile pictures for Discord. Something like using .discord set avatar https://i.cadixdev.org/avatar/jmansfield.png.
Dis4IRC/src/main/kotlin/io/zachbr/dis4irc/bridge/pier/discord/DiscordPier.kt
Lines 146 to 151 in 598afef
As a replacement, there should be user configured profile pictures for Discord. Something like using
.discord set avatar https://i.cadixdev.org/avatar/jmansfield.png.