mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
(Re-)add confirmation when changing avatar by URL
This commit is contained in:
parent
59bbbab621
commit
b1ede87df2
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ namespace PluralKit.Bot
|
|||
var embed = new DiscordEmbedBuilder().WithImageUrl(url).Build();
|
||||
if (location == AvatarLocation.Server)
|
||||
await ctx.Reply($"{Emojis.Success} Member server avatar changed. This avatar will now be used when proxying in this server (**{ctx.Guild.Name}**).", embed: embed);
|
||||
else
|
||||
await ctx.Reply($"{Emojis.Success} Member server avatar changed.");
|
||||
}
|
||||
|
||||
private async Task AvatarFromAttachment(AvatarLocation location, Context ctx, PKMember target, DiscordAttachment attachment)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue