WikiFact

Discord botu

WikiFact

Bu bot listesi sahiplenilmeyi bekliyor

Bu botun şu anda bir yöneticisi yok. Bu Discord botunun sahibiyseniz, listeyi düzenlemek ve sahipliği almak için sahiplenin.

Hakkında

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.

Diller

  • English

Yorumlar

1 · 1 yorum

Henüz inceleme yok — deneyimini paylaşan ilk kişi ol.

Oy istatistikleri

Bu rehberde son 30 günde kaydedildi.

0 Bu ayki oylar
0 Tüm zamanların oyları
0 Son 7 gün
0 Benzersiz oy verenler · 30 g

Son 30 gün

  • Oylar

Haftanın gününe göre

Pzt
Sal
Çar
Per
Cum
Cmt
Paz
WikiFact
WikiFact
0 sunucu · 0 aylık oy
Davet et