Skip to content

This is a cute Discord bot which responds with an image or GIF of a cat whenever a user types a related word.

Notifications You must be signed in to change notification settings

stasyanski/Discord-Cat-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Cat-Bot

This is a cute Discord bot which responds with an image or GIF of a cat whenever a user types a related word. The bot will respond to the following:

  • ['cat', 'cats', 'kitten', 'kittens', 'kitty', 'kitties', 'feline', 'felines', 'meow', 'purr', 'paws', 'whiskers', 'claws', 'tail', 'fur', 'purr', 'pussy', 'puss', 'pussycat', 'pussycats', 'kittycat', 'kittycats', 'kitty-cat', 'kitty-cats']

This bot is based on TheCatApi, https://www.thecatapi.com. Feel free to add or remove words as needed from the cat_dict dictionary in response.py

When a user types one of the words above in a text channel, the bot will respond, like so:

Preview

Usage

This bot runs locally on your machine, and in order for it to respond, you must have the script running when needed. You must create a .env file in the script directory, create a variable DISCORD_TOKEN and assign it your bots Discord token from Discord developer portal.

I recommend watching this video, up to 6:34 on how to setup a Discord bot and invite to your server.

Create Your Own Discord Bot in Python 3.12 Tutorial (2024 Edition), https://www.youtube.com/watch?v=UYJDKSah-Ww

About

This is a cute Discord bot which responds with an image or GIF of a cat whenever a user types a related word.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages