WikiFact

Discord-bot

WikiFact

Deze botvermelding wacht om geclaimd te worden

Deze bot heeft op dit moment geen manager. Als je deze Discord-bot bezit, claim hem om de vermelding te bewerken en eigenaar te worden.

Over

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.

Talen

  • English

Beoordelingen

1 · 1 beoordeling

Nog geen reviews — wees de eerste die je ervaring deelt.

Stemstatistieken

Vastgelegd op deze gids in de afgelopen 30 dagen.

0 Stemmen deze maand
0 Stemmen aller tijden
0 Laatste 7 dagen
0 Unieke stemmers · 30 d

Laatste 30 dagen

  • Stemmen

Per weekdag

ma
di
wo
do
vr
za
zo
WikiFact
WikiFact
0 servers · 0 maandelijkse stemmen
Uitnodigen