mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 01:00:12 +00:00
Do the Big Rename
This commit is contained in:
parent
80c572f594
commit
ef614d07c3
18 changed files with 119 additions and 119 deletions
|
|
@ -45,7 +45,7 @@ namespace PluralKit.Bot
|
|||
}
|
||||
|
||||
// If we have an attachment, use that
|
||||
if (ctx.MessageNew.Attachments.FirstOrDefault() is {} attachment)
|
||||
if (ctx.Message.Attachments.FirstOrDefault() is {} attachment)
|
||||
{
|
||||
var url = TryRewriteCdnUrl(attachment.ProxyUrl);
|
||||
return new ParsedImage {Url = url, Source = AvatarSource.Attachment};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue