From 7b0661ae19e567a818e6cc9bd751baa1ae65dfca Mon Sep 17 00:00:00 2001 From: Omuretsu <75904606+Omuretsu@users.noreply.github.com> Date: Sun, 27 Aug 2023 20:37:49 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20super=E3=82=B3=E3=83=9E=E3=83=B3?= =?UTF-8?q?=E3=83=89=E3=81=AE=E5=AE=9F=E8=A3=85=20(#58)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tomachi <8929706+book000@users.noreply.github.com> --- src/commands/super.ts | 19 +++++++++++++++++++ src/discord.ts | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 src/commands/super.ts diff --git a/src/commands/super.ts b/src/commands/super.ts new file mode 100644 index 00000000..a203f7bb --- /dev/null +++ b/src/commands/super.ts @@ -0,0 +1,19 @@ +import { Discord } from '@/discord' +import { Message } from 'discord.js' +import { BaseCommand, Permission } from '.' + +export class SuperCommand implements BaseCommand { + get name(): string { + return 'super' + } + + get permissions(): Permission[] | null { + return null + } + + async execute(_discord: Discord, message: Message): Promise { + await message.channel.send( + 'スゥ( ᐛ👐) パァwヘクサゴォンwwビギィンwテレレレレレレレテレレレレレレレテレレレレレレレwwテレッテレッテレッwwʅ(´-౪-)ʃデ─ンwwゲェェムオーヴァーwwwʅ(◜◡‾)ʃ?' + ) + } +} diff --git a/src/discord.ts b/src/discord.ts index 761fff9e..7d1d7b78 100644 --- a/src/discord.ts +++ b/src/discord.ts @@ -8,6 +8,7 @@ import { PingCommand } from './commands/ping' import { PotatoCommand } from './commands/potato' import { KowaineCommand } from './commands/kowaine' import { KawaiineCommand } from './commands/kawaiine' +import { SuperCommand } from './commands/super' import { PowaCommand } from './commands/powa' export class Discord { @@ -19,6 +20,7 @@ export class Discord { new PotatoCommand(), new KowaineCommand(), new KawaiineCommand(), + new SuperCommand(), new PowaCommand(), ]