WikiFact

Bot de Discord

WikiFact

0 Servidores
0 Votos del mes 0 Votos totales
1 Reseñas

Esta ficha de bot espera ser reclamada

Este bot no tiene un manager en este momento. Si eres dueño de este bot de Discord, reclámalo para editar la ficha y tomar la propiedad.

Acerca de

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

Reseñas

1 · 1 reseña

Aún no hay reseñas — sé el primero en compartir tu experiencia.

Estadísticas de votos

Registradas en este directorio en los últimos 30 días.

0 Votos este mes
0 Votos totales
0 Últimos 7 días
0 Votantes únicos · 30 d

Últimos 30 días

  • Votos

Por día de la semana

lun
mar
mié
jue
vie
sáb
dom
WikiFact
WikiFact
0 servidores · 0 votos mensuales
Invitar