AgentSkillsCN

entertainment

获取娱乐内容,包括经典名句、英文笑话、中文段子、运势预测、KFC 热梗文案以及“摸鱼”日历。当用户渴望趣味内容、幽默段子、精彩语录、每日运势预测,或寻找轻松愉悦的消遣方式时,请使用此技能。

SKILL.md
--- frontmatter
name: entertainment
description: 获取娱乐内容,包括一言名句、英文笑话、中文段子、运势预测、KFC梗文案和摸鱼日历。Use when users want fun content, jokes, quotes, daily luck predictions, or entertainment.
license: MIT
metadata:
  author: vikiboss
  version: "1.0"
  api_base: https://60s.viki.moe/v2
  tags:
    - entertainment
    - fun
    - jokes
    - quotes

Entertainment Content Skill

Get fun and entertaining content including quotes, jokes, luck predictions, and memes.

Available Content

  1. Hitokoto (一言) - Random meaningful quotes
  2. Dad Jokes - English dad jokes
  3. Duanzi (段子) - Chinese jokes/funny stories
  4. Luck Prediction - Daily fortune telling
  5. KFC Meme - Crazy Thursday meme text
  6. Moyu Calendar - Slacking off calendar

API Endpoints

ContentEndpointMethod
Hitokoto/v2/hitokotoGET
Dad Joke/v2/dad-jokeGET
Duanzi/v2/duanziGET
Luck/v2/luckGET
KFC Meme/v2/kfcGET
Moyu/v2/moyuGET

Quick Examples

Get Random Quote (Hitokoto)

python
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

python
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)

python
response = requests.get('https://60s.viki.moe/v2/duanzi')
duanzi = response.json()

print(f"😂 {duanzi['content']}")

Get Daily Luck

python
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

python
response = requests.get('https://60s.viki.moe/v2/kfc')
meme = response.json()

print(f"🍗 {meme['text']}")

Get Moyu Calendar

python
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

python
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

python
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: "讲个笑话"

python
duanzi = requests.get('https://60s.viki.moe/v2/duanzi').json()
print(f"😂 {duanzi['content']}")

User: "今天运势怎么样?"

python
luck = requests.get('https://60s.viki.moe/v2/luck').json()
response = f"""
🔮 您今日的运势:

综合运势:{luck['总运势']}
爱情运势:{luck['爱情运势']}
事业运势:{luck['事业运势']}
财富运势:{luck['财富运势']}

💡 幸运提示
幸运颜色:{luck['幸运颜色']}
幸运数字:{luck['幸运数字']}
"""

User: "给我一句励志的话"

python
params = {'category': 'literature'}
quote = requests.get('https://60s.viki.moe/v2/hitokoto', params=params).json()
print(f"✨ {quote['hitokoto']}\n   —— {quote['from']}")

Related Resources