README.md
Serendip is a Discord bot that gets random Wikipedia pages. This bot is built using Go and the discordgo library.
The following instructions assume you already have a working Go environment, if not please see this page first.
To set up the bot, you will need to have a Discord account and create a new Discord bot. You can follow the instructions in the Discord developer portal to create a new bot and get the bot token.
Before running, set the environment variable SERENDIP_BOT_TOKEN
to the bot token obtained in the step above.
git clone https://github.com/tenax66/serendip.git
go build -o main
./main
Command | Command Description |
---|---|
/wiki | Fetches a random Wikipedia page and responds with a title of the page, a summary of the page, and a link to the page. |