1 |
rakinar2 |
626 |
import { Extension } from "@sudobot/extensions/Extension"; |
2 |
|
|
import { Awaitable } from "discord.js"; |
3 |
|
|
import "module-alias/register"; |
4 |
|
|
import Application from "../../../build/out/framework/typescript/app/Application"; |
5 |
|
|
import { Command } from "../../../build/out/framework/typescript/commands/Command"; |
6 |
|
|
import { Class } from "../../../build/out/framework/typescript/types/Utils"; |
7 |
|
|
import AnimeCommand from "./commands/AnimeCommand"; |
8 |
|
|
|
9 |
|
|
export default class WaifuPicsExtension extends Extension { |
10 |
|
|
protected commands(): Awaitable<Class<Command, [Application]>[]> { |
11 |
|
|
return [AnimeCommand]; |
12 |
|
|
} |
13 |
|
|
} |