mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	Merge branch 'v4' into v5
This commit is contained in:
		@@ -421,30 +421,6 @@ public partial class Searches : NadekoModule<SearchesService>
 | 
			
		||||
        await SendConfirmAsync("🐈" + GetText(strs.catfact), fact);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //done in 3.0
 | 
			
		||||
    [Cmd]
 | 
			
		||||
    [RequireContext(ContextType.Guild)]
 | 
			
		||||
    public async Task Revav([Leftover] IGuildUser usr = null)
 | 
			
		||||
    {
 | 
			
		||||
        if (usr is null)
 | 
			
		||||
            usr = (IGuildUser)ctx.User;
 | 
			
		||||
 | 
			
		||||
        var av = usr.RealAvatarUrl();
 | 
			
		||||
        await SendConfirmAsync($"https://images.google.com/searchbyimage?image_url={av}");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //done in 3.0
 | 
			
		||||
    [Cmd]
 | 
			
		||||
    public async Task Revimg([Leftover] string imageLink = null)
 | 
			
		||||
    {
 | 
			
		||||
        imageLink = imageLink?.Trim() ?? "";
 | 
			
		||||
 | 
			
		||||
        if (string.IsNullOrWhiteSpace(imageLink))
 | 
			
		||||
            return;
 | 
			
		||||
 | 
			
		||||
        await SendConfirmAsync($"https://images.google.com/searchbyimage?image_url={imageLink}");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    [Cmd]
 | 
			
		||||
    public async Task Wiki([Leftover] string query = null)
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
@@ -8,6 +8,9 @@ using SixLabors.ImageSharp;
 | 
			
		||||
using SixLabors.ImageSharp.Drawing.Processing;
 | 
			
		||||
using SixLabors.ImageSharp.PixelFormats;
 | 
			
		||||
using SixLabors.ImageSharp.Processing;
 | 
			
		||||
using System.Collections;
 | 
			
		||||
using System.Net.Http.Json;
 | 
			
		||||
using System.Text.Json.Serialization;
 | 
			
		||||
using Color = SixLabors.ImageSharp.Color;
 | 
			
		||||
using Image = SixLabors.ImageSharp.Image;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user