WikiFact

Bot Discord

WikiFact

Cette fiche bot attend d’être revendiquée

Ce bot n’a pas de gestionnaire pour le moment. Si vous êtes propriétaire de ce bot Discord, revendiquez-le pour modifier la fiche et en prendre possession.

À propos

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.

Langues

  • English

Avis

1 · 1 avis

Pas encore d’avis — soyez le premier à partager votre expérience.

Statistiques de votes

Enregistrées sur cet annuaire au cours des 30 derniers jours.

0 Votes ce mois-ci
0 Votes au total
0 7 derniers jours
0 Votants uniques · 30 j

30 derniers jours

  • Votes

Par jour de la semaine

lun.
mar.
mer.
jeu.
ven.
sam.
dim.
WikiFact
WikiFact
0 serveurs · 0 votes mensuels
Inviter