WikiFact

Discord 봇

WikiFact

이 봇 등록은 소유권 신청을 기다리는 중입니다

현재 이 봇에 관리자가 없습니다. 소유자라면 클레임하여 등록을 편집하고 소유권을 가져가세요.

소개

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.

언어

  • English

리뷰

1 · 1 리뷰

아직 리뷰가 없습니다 — 첫 번째로 경험을 공유해 보세요.

투표 통계

이 가이드에서 지난 30일 동안 기록된 수치예요.

0 이번 달 투표
0 누적 투표
0 최근 7일
0 고유 투표자 · 30일

최근 30일

  • 투표

요일별

월
화
수
목
금
토
일
WikiFact
WikiFact
0개 서버 · 월 0표
초대