Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
/ xkcd-bot Public archive

A simple discord bot to find and embed xkcd comics in chat.

Notifications You must be signed in to change notification settings

Solarflame5/xkcd-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord XKCD bot

⚠️ Disclaimer: This bot is pretty bad and won't be updated anymore, consider using other bots available online. I might rewrite it as part of a general purpose bot later.

This bot automatically finds an xkcd from the given partial/full title and embeds it in chat Example screenshot

Requirements for hosting

Setup

Create a text file called token.txt on the same directory as main.py, paste your bot's token inside this text file.

When running the bot for the first time, uncomment await tree.sync() under async def on_ready():, run the bot once and then comment the line again to register the /xkcd command.

Usage

type /xkcd [partial comic title] or /xkcd [comic number] in chat.

About

A simple discord bot to find and embed xkcd comics in chat.

Topics

Resources

Stars

Watchers

Forks

Languages