mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-16 06:57:36 -07:00
14 lines
388 B
TypeScript
14 lines
388 B
TypeScript
export default function(reaction: string): string {
|
|
switch (reaction) {
|
|
case 'like': return '👍';
|
|
case 'love': return '❤️';
|
|
case 'laugh': return '😆';
|
|
case 'hmm': return '🤔';
|
|
case 'surprise': return '😮';
|
|
case 'congrats': return '🎉';
|
|
case 'angry': return '💢';
|
|
case 'confused': return '😥';
|
|
case 'pudding': return '🍮';
|
|
default: return '';
|
|
}
|
|
}
|