mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-02 19:52:52 +09:00
29 lines
489 B
TypeScript
29 lines
489 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 "rip":
|
|
return "😇";
|
|
case "pudding":
|
|
return "🍮";
|
|
case "star":
|
|
return "⭐";
|
|
default:
|
|
return reaction;
|
|
}
|
|
}
|