Skip to content

Commit

Permalink
feat: alphaコマンドを実装 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omuretsu authored Aug 27, 2023
1 parent 9ef1765 commit f48cd49
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/commands/alpha.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 AlphaCommand implements BaseCommand {
get name(): string {
return 'alpha'
}

get permissions(): Permission[] | null {
return null
}

async execute(_discord: Discord, message: Message<boolean>): Promise<void> {
await message.channel.send(
'オ、オオwwwwwwwwオレアルファwwwwwwww最近めっちょふぁぼられてんねんオレwwwwwwwwエゴサとかかけるとめっちょ人気やねんwwwwァァァァァァァwwwクソアルファを見下しながら食べるエビフィレオは一段とウメェなァァァァwwwwwwww'
)
}
}
2 changes: 2 additions & 0 deletions src/discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ import { KowaineCommand } from './commands/kowaine'
import { KawaiineCommand } from './commands/kawaiine'
import { SuperCommand } from './commands/super'
import { PowaCommand } from './commands/powa'
import { AlphaCommand } from './commands/alpha'

export class Discord {
public readonly client: Client

public static readonly commands: BaseCommand[] = [
new AlphaCommand(),
new BasslineCommand(),
new PingCommand(),
new PotatoCommand(),
Expand Down

0 comments on commit f48cd49

Please sign in to comment.