botyo-command-reverse-image-search
Version:
Reverse Image Search command for Botyo
17 lines (16 loc) • 586 B
TypeScript
import { AbstractCommandModule } from "botyo-api";
export default class ReverseImageSearchCommand extends AbstractCommandModule {
private readonly shortener;
private readonly recentMessagesCount;
constructor();
getCommand(): string | string[];
getDescription(): string;
getUsage(): string;
validate(msg: any, args: string): boolean;
execute(msg: any, args: string): Promise<any>;
private getLastPhotoUrl;
private getResultMessage;
private static getGoogleUrl;
private static getBingUrl;
private static getTinEyeUrl;
}