Skip to content

Commit

Permalink
feat: superコマンドの実装 (#58)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomachi <[email protected]>
  • Loading branch information
Omuretsu and book000 authored Aug 27, 2023
1 parent 46ad46c commit 7b0661a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/commands/super.ts
Original file line number Diff line number Diff line change
@@ -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<boolean>): Promise<void> {
await message.channel.send(
'スゥ( ᐛ👐) パァwヘクサゴォンwwビギィンwテレレレレレレレテレレレレレレレテレレレレレレレwwテレッテレッテレッwwʅ(´-౪-)ʃデ─ンwwゲェェムオーヴァーwwwʅ(◜◡‾)ʃ?'
)
}
}
2 changes: 2 additions & 0 deletions src/discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -19,6 +20,7 @@ export class Discord {
new PotatoCommand(),
new KowaineCommand(),
new KawaiineCommand(),
new SuperCommand(),
new PowaCommand(),
]

Expand Down

0 comments on commit 7b0661a

Please sign in to comment.