Note: If a non-named argument is provided after an article is acquried, WikiBot will assume this argument is a section title. Once an article has been selected (see above) users can provide additional arguments to instruct WikiBot what to display from or about the article: Once an article is selected, additional arguments (see below) can be provided to specify what information to display. !random: Select a random Wikipedia article. Title will be normalized (removes punctuation characters and capitalizes) and redirected if applicable, but must otherwise be an exact match. !getpage articlename: Select an article directly. If there are multiple results and a ! character is not present, an article will not be selected, and WikiBot will simply display the search results. !search "article name" !: The ! character instructs WikiBot to select the top result from this query. The selection of an article, and arguments that specify what information to display from or about the article.Īn article can be acquired through several different commands: ParsingĪ WikiBot command consists of two parts. WikiBot can be used in discussions to quickly display relevant information that users would otherwise have to find independently.Ī basic search is performed by running the command !search "article name". Specify an article title and a section or heading, and WikiBot will send the section text to the server as an embed. WikiBot allows users to quickly and easily search for and display Wikipedia articles, and it provides access to most functionality in the WikiMedia API. WikiBot is a Discord bot built using Replit, built for their joint competition with the 1729 newsletter.
0 Comments
Leave a Reply. |