1 |
import { exit } from "process"; |
import { exit } from "process"; |
2 |
import DiscordClient from "../../client/Client"; |
import DiscordClient from "../../client/Client"; |
3 |
import BannedGuild from "../../models/BannedGuilds"; |
import BannedGuild from "../../models/BannedGuild"; |
4 |
import BaseCLICommand from "../../utils/structures/BaseCLICommand"; |
import BaseCLICommand from "../../utils/structures/BaseCLICommand"; |
5 |
|
|
6 |
export default class BanGuildCommand extends BaseCLICommand { |
export default class BanGuildCommand extends BaseCLICommand { |
7 |
requiredArgs = 1; |
requiredArgs = 1; |
8 |
|
|
9 |
constructor() { |
constructor() { |
10 |
super('banguild', 'guildBans'); |
super('banguild', 'guild'); |
11 |
} |
} |
12 |
|
|
13 |
async run(client: DiscordClient, argv: string[], args: string[]) { |
async run(client: DiscordClient, argv: string[], args: string[]) { |