Skip to content

Commit

Permalink
Merge pull request #200 from yusu-banana/feature/winter
Browse files Browse the repository at this point in the history
Added >winter command
  • Loading branch information
zuzuvelas authored Jan 2, 2024
2 parents c1a8c22 + bf520e6 commit e5246bd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/commands/chatters/winter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Discord, SimpleCommand, SimpleCommandMessage, SimpleCommandOption, SimpleCommandOptionType } from 'discordx'

@Discord()
class Winter {
@SimpleCommand({ name: 'winter', description: 'Winter', argSplitter: '\n' })
async simple(
@SimpleCommandOption({ name: 'text', type: SimpleCommandOptionType.String }) text: string | undefined,
command: SimpleCommandMessage
) {
let content
if (text) {
content = `${text}? Estrogen can help with that`
} else {
content = 'Estrogen can help with that'
}

await command.message.channel.send({
content: content,
})
return
}
}

0 comments on commit e5246bd

Please sign in to comment.