Get rid of more D#+ references
This commit is contained in:
@@ -160,7 +160,7 @@ namespace PluralKit.Bot
|
||||
else
|
||||
await ctx.Reply(embed: new EmbedBuilder()
|
||||
.Title("Member color")
|
||||
.Color((uint?) target.Color.ToDiscordColor()!.Value.Value)
|
||||
.Color(target.Color.ToDiscordColor())
|
||||
.Thumbnail(new($"https://fakeimg.pl/256x256/{target.Color}/?text=%20"))
|
||||
.Description($"This member's color is **#{target.Color}**."
|
||||
+ (ctx.System?.Id == target.System ? $" To clear it, type `pk;member {target.Reference()} color -clear`." : ""))
|
||||
@@ -178,7 +178,7 @@ namespace PluralKit.Bot
|
||||
|
||||
await ctx.Reply(embed: new EmbedBuilder()
|
||||
.Title($"{Emojis.Success} Member color changed.")
|
||||
.Color((uint?) color.ToDiscordColor()!.Value.Value)
|
||||
.Color(color.ToDiscordColor())
|
||||
.Thumbnail(new($"https://fakeimg.pl/256x256/{color}/?text=%20"))
|
||||
.Build());
|
||||
}
|
||||
|
Reference in New Issue
Block a user