WikiFact

Bot Discord

WikiFact

Questa scheda bot è in attesa di essere rivendicata

Questo bot non ha un manager al momento. Se sei il proprietario di questo bot Discord, rivendicalo per modificare la scheda e diventarne il titolare.

Informazioni

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.

Lingue

  • English

Recensioni

1 · 1 recensione

Ancora nessuna recensione — sii il primo a condividere la tua esperienza.

Statistiche di voti

Rilevate su questa directory negli ultimi 30 giorni.

0 Voti questo mese
0 Voti totali
0 Ultimi 7 giorni
0 Votanti unici · 30 g

Ultimi 30 giorni

  • Voti

Per giorno della settimana

lun
mar
mer
gio
ven
sab
dom
WikiFact
WikiFact
0 server · 0 voti mensili
Invita