An open API service indexing awesome lists of open source software.

https://github.com/halflinghelper/xkcd-discordbot

XKCD discord bot to get comics for your server.
https://github.com/halflinghelper/xkcd-discordbot

Last synced: 8 months ago
JSON representation

XKCD discord bot to get comics for your server.

Awesome Lists containing this project

README

          

# XKCD-Bot
XKCD discord bot to get comics for your server.

[Invite Link](https://discord.com/oauth2/authorize?client_id=697915545974210691&permissions=2048&integration_type=0&scope=bot+applications.commands)

## Usage
`npm install`

`npm start`

## About
I wrote this bot in high school during the pandemic, soon after I first learned
about node.js. I learned the [discord.js](https://discord.js.org/) module and
figured out what `fetch` and API meant just barely enough to get a working bot
(see [this](https://github.com/HalflingHelper/XKCD-DiscordBot/tree/d5c0c56b8b7f5296d3daa20511fd5e4c92fa137f)
commit).

This summer, over 4 years later, it became a fun weekend project to look back at
and improve this questionable code, and see just how far I'd come in my
understanding of node, the web, and programming style.

You can add XKCD bot to your server [here](https://discord.com/oauth2/authorize?client_id=697915545974210691&permissions=2048&integration_type=0&scope=bot+applications.commands)