About entertainment
entertainment is a skill for retrieving light entertainment content, including quotes, jokes, fortune predictions, and meme text. It suits bots and chat applications that want to provide varied content through the 60s API.
Key features
- 01Fetches random quotes
- 02Provides English dad jokes and Chinese jokes
- 03Returns daily fortune predictions
- 04Supplies KFC meme text and Moyu calendar
Use cases
- 01Adding a daily entertainment bot feature
- 02Responding to joke or quote commands in chat
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ vikiboss/ 60s-skills --skill entertainmentAfter installing, type/entertainmentin Claude Code to confirm it loaded.
Details
From the project READMEEntertainment Content Skill
Get fun and entertaining content including quotes, jokes, luck predictions, and memes.
Available Content
- Hitokoto (一言) - Random meaningful quotes
- Dad Jokes - English dad jokes
- Duanzi (段子) - Chinese jokes/funny stories
- Luck Prediction - Daily fortune telling
- KFC Meme - Crazy Thursday meme text
- Moyu Calendar - Slacking off calendar
API Endpoints
| Content | Endpoint | Method |
|---|---|---|
| Hitokoto | /v2/hitokoto | GET |
| Dad Joke | /v2/dad-joke | GET |
| Duanzi | /v2/duanzi | GET |
| Luck | /v2/luck | GET |
| KFC Meme | /v2/kfc | GET |
| Moyu | /v2/moyu | GET |
Quick Examples
Get Random Quote (Hitokoto)
import requests
# Get random quote
response = requests.get('https://60s.viki.moe/v2/hitokoto')
quote = response.json()
print(f"📖 {quote['hitokoto']}")
print(f" —— {quote['from']}")
# With category
params = {'category': 'anime'} # anime, comic, game, literature, original, internet, other
response = requests.get('https://60s.viki.moe/v2/hitokoto', params=params)
Get Dad Joke
response = requests.get('https://60s.viki.moe/v2/dad-joke')
joke = response.json()
print(f"😄 {joke['setup']}")
print(f" {joke['punchline']}")
Get Chinese Joke (Duanzi)
response = requests.get('https://60s.viki.moe/v2/duanzi')
duanzi = response.json()
print(f"😂 {duanzi['content']}")
Get Daily Luck
response = requests.get('https://60s.viki.moe/v2/luck')
luck = response.json()
print(f"🔮 今日运势")
print(f"综合运势:{luck['总运势']}")
print(f"爱情运势:{luck['爱情运势']}")
print(f"事业运势:{luck['事业运势']}")
print(f"财富运势:{luck['财富运势']}")
print(f"幸运颜色:{luck['幸运颜色']}")
print(f"幸运数字:{luck['幸运数字']}")
Get KFC Meme Text
response = requests.get('https://60s.viki.moe/v2/kfc')
meme = response.json()
print(f"🍗 {meme['text']}")
Get Moyu Calendar
response = requests.get('https://60s.viki.moe/v2/moyu')
# Returns image
with open('moyu.jpg', 'wb') as f:
f.write(response.content)
Use Cases
Daily Entertainment Bot
def get_morning_entertainment():
quote = requests.get('https://60s.viki.moe/v2/hitokoto').json()
luck = requests.get('https://60s.viki.moe/v2/luck').json()
message = f"""
☀️ 早安!
📖 每日一言
{quote['hitokoto']}
—— {quote['from']}
🔮 今日运势
综合:{luck['总运势']} ⭐
幸运色:{luck['幸运颜色']}
"""
return message
Chatbot Fun Commands
def handle_fun_command(command):
if 'joke' in command or '笑话' in command:
joke = requests.get('https://60s.viki.moe/v2/duanzi').json()
return f"😂 {joke['content']}"
elif 'quote' in command or '名言' in command:
quote = requests.get('https://60s.viki.moe/v2/hitokoto').json()
return f"📖 {quote['hitokoto']} —— {quote['from']}"
elif 'luck' in command or '运势' in command:
luck = requests.get('https://60s.viki.moe/v2/luck').json()
return f"🔮 今日运势:{luck['总运势']}\n幸运色:{luck['幸运颜色']}"
elif 'kfc' in command:
meme = requests.get('https://60s.viki.moe/v2/kfc').json()
return f"🍗 {meme['text']}"
Example Interactions
User: "讲个笑话"
duanzi = requests.get('https://60s.viki.moe/v2/duanzi').json()
print(f"😂 {duanzi['content']}")
User: "今天运势怎么样?"
luck = requests.get('https://60s.viki.moe/v2/luck').json()
response = f"""
🔮 您今日的运势:
综合运势:{luck['总运势']}
爱情运势:{luck['爱情运势']}
事业运势:{luck['事业运势']}
财富运势:{luck['财富运势']}
💡 幸运提示
幸运颜色:{luck['幸运颜色']}
幸运数字:{luck['幸运数字']}
"""
User: "给我一句励志的话"
params = {'category': 'literature'}
quote = requests.get('https://60s.viki.moe/v2/hitokoto', params=params).json()
print(f"✨ {quote['hitokoto']}\n —— {quote['from']}")
Related Resources
Comments
Markdown supported