WikiFact

WikiFact

1
0

概览

Spits out a random fact off the Wikipedia Unusual Articles page with !factme


Use command '!factme', it give u fact

How the leprechauns and fairy magic works:

Written in Python, the algorithm accesses the web to import the Wikipedia Unusual Articles page in HTML using the requests library. The HTML data can then be parsed using the Beautiful Soup library to obtain a list of articles. This list is only generated once upon start up, not each time the bot is called. This is done to minimize bot response time. A random python function is then used to select an article. The chosen article will then be parsed one last time to obtain the title, description and link. See github repository for code.

TLDR: You get a title, description and wiki link to a random unusual wiki article.

评分和评论


1

1 评论

只能由注册用户留下评论。所有评论都由Top.gg版主主持。 请确保在发布之前检查 我们的指南

5 星

0

4 星

0

3 星

0

2 星

0

1 星星

1





Top.gg

探索海量Discord机器人和应用

支持

提交服务单

管理Cookie设置

合作伙伴

Medal

MCP Servers