Files
ThreadNet-Web/src/components/views/elements/effects/index.ts
T

24 lines
523 B
TypeScript
Raw Normal View History

import {_t, _td} from "../../../../languageHandler";
2020-10-21 13:56:58 +02:00
type Effect = {
emojis: Array<string>;
msgType: string;
command: string;
description: () => string;
fallbackMessage: () => string;
}
const effects: Array<Effect> = [
{
emojis: ['🎊', '🎉'],
msgType: 'nic.custom.confetti',
command: 'confetti',
description: () => _td("Sends the given message with confetti"),
fallbackMessage: () => _t("sends confetti") + " 🎉",
},
2020-10-21 13:56:58 +02:00
];
export default effects;