WikiFact

Discord-bot

WikiFact

Denna bot-listing väntar på att göras anspråk på

Denna bot har ingen manager just nu. Om du äger den här Discord-boten, gör anspråk på den för att redigera listningen och ta över ägarskapet.

Om

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.

Språk

  • English

Recensioner

1 · 1 recension

Inga recensioner ännu — bli först med att dela din upplevelse.

Röststatistik

Registrerat i den här katalogen de senaste 30 dagarna.

0 Röster den här månaden
0 Röster totalt
0 Senaste 7 dagarna
0 Unika röstare · 30 d

Senaste 30 dagarna

  • Röster

Per veckodag

mån
tis
ons
tor
fre
lör
sön
WikiFact
WikiFact
0 servrar · 0 röster per månad
Bjud in