Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: いくつかのコマンド・機能を削除 #80

Merged
merged 2 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/commands/kawaiine.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/commands/kowaine.ts

This file was deleted.

10 changes: 1 addition & 9 deletions src/discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ import { BasslineCommand } from './commands/bassline'
import { PingCommand } from './commands/ping'
import { TmttmtCommand } from './commands/tmttmt'
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'
import { AlphaCommand } from './commands/alpha'
import { GreetingEvent } from './events/greeting'
import { EnenEvent } from './events/enen'

export class Discord {
private config: Configuration
Expand All @@ -24,8 +21,6 @@ export class Discord {
new BasslineCommand(),
new PingCommand(),
new PotatoCommand(),
new KowaineCommand(),
new KawaiineCommand(),
new SuperCommand(),
new PowaCommand(),
new TmttmtCommand(),
Expand All @@ -44,10 +39,7 @@ export class Discord {
this.client.on('ready', this.onReady.bind(this))
this.client.on('messageCreate', this.onMessageCreate.bind(this))

const events: BaseDiscordEvent<any>[] = [
new GreetingEvent(this),
new EnenEvent(this),
]
const events: BaseDiscordEvent<any>[] = [new GreetingEvent(this)]
for (const event of events) {
event.register()
}
Expand Down
14 changes: 0 additions & 14 deletions src/events/enen.ts

This file was deleted.