mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	Removed .revimg and .revav, closes #417
This commit is contained in:
		@@ -422,30 +422,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)
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
@@ -9,6 +9,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;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -647,10 +647,6 @@ chucknorris:
 | 
			
		||||
magicitem:
 | 
			
		||||
  - magicitem
 | 
			
		||||
  - mi
 | 
			
		||||
revav:
 | 
			
		||||
  - revav
 | 
			
		||||
revimg:
 | 
			
		||||
  - revimg
 | 
			
		||||
safebooru:
 | 
			
		||||
  - safebooru
 | 
			
		||||
wiki:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user