Send raw attachment URL after sending export file
This commit is contained in:
		@@ -141,7 +141,8 @@ namespace PluralKit.Bot
 | 
				
			|||||||
            try
 | 
					            try
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                var dm = await ctx.Rest.CreateDmAsync(ctx.Author.Id);
 | 
					                var dm = await ctx.Rest.CreateDmAsync(ctx.Author.Id);
 | 
				
			||||||
                await dm.SendFileAsync("system.json", stream, $"{Emojis.Success} Here you go!");
 | 
					                var msg = await dm.SendFileAsync("system.json", stream, $"{Emojis.Success} Here you go!");
 | 
				
			||||||
 | 
					                await dm.SendMessageAsync($"<{msg.Attachments[0].Url}>");
 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
                // If the original message wasn't posted in DMs, send a public reminder
 | 
					                // If the original message wasn't posted in DMs, send a public reminder
 | 
				
			||||||
                if (!(ctx.Channel is DiscordDmChannel))
 | 
					                if (!(ctx.Channel is DiscordDmChannel))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user