WikiFact

Discord-Bot

WikiFact

Dieser Bot-Eintrag wartet darauf, beansprucht zu werden

Dieser Bot hat derzeit keinen Manager. Wenn du diesen Discord-Bot besitzt, beanspruche ihn, um den Eintrag zu bearbeiten und Eigentümer zu werden.

Über

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.

Sprachen

  • English

Bewertungen

1 · 1 Bewertung

Noch keine Bewertungen — teile als Erster deine Erfahrung.

Stimmstatistiken

Auf diesem Verzeichnis in den letzten 30 Tagen erfasst.

0 Stimmen diesen Monat
0 Stimmen insgesamt
0 Letzte 7 Tage
0 Unterschiedliche Abstimmende · 30 T

Letzte 30 Tage

  • Stimmen

Nach Wochentag

Mo
Di
Mi
Do
Fr
Sa
So
WikiFact
WikiFact
0 Server · 0 monatliche Stimmen
Einladen