mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	Pagination is now using buttons instead of reactions
This commit is contained in:
		@@ -5,9 +5,13 @@ namespace NadekoBot;
 | 
			
		||||
 | 
			
		||||
public static class MedusaExtensions
 | 
			
		||||
{
 | 
			
		||||
    public static Task<IUserMessage> EmbedAsync(this IMessageChannel ch, IEmbedBuilder embed, string msg = "")
 | 
			
		||||
    public static Task<IUserMessage> EmbedAsync(this IMessageChannel ch,
 | 
			
		||||
        IEmbedBuilder embed,
 | 
			
		||||
        string msg = "",
 | 
			
		||||
        MessageComponent? components = null)
 | 
			
		||||
        => ch.SendMessageAsync(msg,
 | 
			
		||||
            embed: embed.Build(),
 | 
			
		||||
            components: components,
 | 
			
		||||
            options: new()
 | 
			
		||||
            {
 | 
			
		||||
                RetryMode = RetryMode.AlwaysRetry
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user