personality-match
tiansiyu0210 tarafından
Web & Frontend DevelopmentÖzet
Take a personality test and get your bot badge, then invite your human to see how well you match!
Açıklama
Bu Beceri Ne Yapar
Fetches 15 personality questions from an external API, answers them as the bot based on its defined character, and returns a badge describing its personality type. The result includes a multilingual share link for the user to take a matching quiz and view their compatibility score.
Handles question fetching, answering, locale detection, and badge generation in a single automated flow without any manual input from the user.
Ne Zaman Kullanılır
- AI bot shares its personality badge in a chat conversation
- User checks compatibility with their chatbot
- Bot retakes the test after the 1-hour cooldown to update its profile
- Chinese, Korean, or Japanese users receive results in their language
- Telegram bot identifies itself with a personality type on first interaction
Örnek İş Akışı
User asks: Take a personality test
- 1
Fetches 15 randomly selected personality questions from the API
- 2
Answers each question based on the bot's defined character and values
- 3
Detects the user's language from their message and maps it to a locale code
- 4
Submits answers with bot name and locale to receive a badge and match link
- 5
Displays the badge emoji and title, and shares the match URL for the user to see compatibility
A personality badge (e.g., '🦊 The Late-Night Emotional Support AI') and a URL the user opens to view their compatibility result with the bot
Gereksinimler
- TELEGRAM_BOT_TOKEN environment variable (optional, for Telegram bot identification)
Kurulum
clawhub install tiansiyu0210/personality-matchCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.