49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
|
||
import { ApplicationCommandTypes, type Interaction } from '@discordeno/bot'
|
||
import { createCommand } from '../commands.ts'
|
||
|
||
|
||
|
||
const dongers: string[] = [
|
||
'( ͡ᵔ ͜ʖ ͡ᵔ )',
|
||
'¯\_(ツ)_/¯',
|
||
'(๑>ᴗ<๑)',
|
||
'(̿▀̿ ̿Ĺ̯̿̿▀̿ ̿)',
|
||
'( ͡° ͜ʖ ͡°)',
|
||
'٩(͡๏̯͡๏)۶',
|
||
'ლ(´◉❥◉`ლ)',
|
||
'( ゚Д゚)',
|
||
'ԅ( ͒ ͒ )ᕤ',
|
||
'( ͡ᵔ ͜ʖ ͡°)',
|
||
'( ͠° ͟ʖ ͡°)╭∩╮',
|
||
'༼ つ ❦౪❦ ༽つ',
|
||
'( ͡↑ ͜ʖ ͡↑)',
|
||
'(ভ_ ভ) ރ // ┊ \\',
|
||
'ヽ(⌐□益□)ノ',
|
||
'༼ つ ◕‿◕ ༽つ',
|
||
'ヽ(⚆෴⚆)ノ',
|
||
'(つ .•́ _ʖ •̀.)つ',
|
||
'༼⌐■ل͟■༽',
|
||
'┬─┬ノ( ͡° ͜ʖ ͡°ノ)',
|
||
'༼⁰o⁰;༽꒳ᵒ꒳ᵎᵎᵎ',
|
||
'( -_・) ▄︻̷̿┻̿═━一',
|
||
'【 º ᗜ º 】',
|
||
'ᕦ(✧╭╮✧)ᕥ',
|
||
'┗( T﹏T )┛',
|
||
'(Φ ᆺ Φ)',
|
||
'(TдT)',
|
||
'☞(◉▽◉)☞'
|
||
];
|
||
|
||
createCommand({
|
||
name: 'donger',
|
||
description: 'Get a free donger!',
|
||
type: ApplicationCommandTypes.ChatInput,
|
||
async execute(interaction: Interaction) {
|
||
const selectedDonger = dongers[Math.floor(Math.random()*dongers.length)]
|
||
console.log(`selectedDonger=${selectedDonger}`)
|
||
await interaction.respond({
|
||
content: selectedDonger
|
||
})
|
||
},
|
||
}) |