WikiFact

Bot do Discord

WikiFact

0 Servidores
0 Votos do mês 0 Votos no total
1 Avaliações

Esta listagem de bot está aguardando reivindicação

Este bot não tem um gerente no momento. Se você é dono deste bot do Discord, reivindique para editar a listagem e assumir a propriedade.

Sobre

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.

Idiomas

  • English

Avaliações

1 · 1 avaliação

Ainda não há avaliações — seja o primeiro a compartilhar sua experiência.

Estatísticas de votos

Registradas neste guia nos últimos 30 dias.

0 Votos neste mês
0 Votos no total
0 Últimos 7 dias
0 Votantes únicos · 30 d

Últimos 30 dias

  • Votos

Por dia da semana

seg
ter
qua
qui
sex
sáb
dom
WikiFact
WikiFact
0 servidores · 0 votos mensais
Convidar