WikiFact

WikiFact

1
0

Tổng quan

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.

Đánh giá & Nhận xét


1

1 nhận xét

Chỉ người dùng đã đăng nhập mới có thể đăng nhận xét. Mọi nhận xét đều được quản lí bởi quản trị viên Top.gg. Vui lòng xem qua các quy tắc của chúng tôi trước khi đăng nhận xét.

5 sao

0

4 sao

0

3 sao

0

2 sao

0

1 sao

1





Top.gg

Khám phá vô vàn bot và ứng dụng dành cho Discord

Hỗ Trợ

Gửi yêu cầu

Quản lý cài đặt Cookie

Đối tác

Medal

MCP Servers