zudsniper / kittykatgifs

Silly python discord bot to send cat gifs via GIPHY with /prrr command ๐Ÿฑโ€๐Ÿ‘ค

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kittykatgifs

A Simple Python 3 Discord Bot

Overview

kittykatgifs is a Discord bot built using Python 3. Unlike other projects, this bot focuses on providing various functionalities for Discord servers, including the ability to fetch and display cat GIFs.

A rainbow cat on a stripper pole or something silly

๐Ÿงฐ Tech Stack

  • Python 3.x
  • Disnake library
  • GIPHY API
  • Loguru for logging

๐ŸŒŸ Features

  • Fetches cat GIFs based on user input
  • Utilizes slash commands for easy interaction
  • Provides colorful debug output via Loguru

๐Ÿ“ฆ Prerequisites

  • Python 3.x
  • pip (Python package installer)
  • Discord account
  • GIPHY account

๐Ÿš€ Installation

  1. Clone the Repository

    git clone https://github.com/zudsniper/kittykatgifs.git
    cd kittykatgifs
  2. Install Dependencies

    pip install -r requirements.txt
  3. Environment Variables

    Create a .env file in the root directory and add your Discord and GIPHY API tokens like so:

    DISCORD_BOT_TOKEN=your_discord_bot_token_here
    GIPHY_API_KEY=your_giphy_api_key_here

    ๐Ÿ“Œ or you can clone the .env.example file and rename it to .env and add your tokens there.

๐ŸŽฎ Usage

  1. Add the bot to your Discord server by visiting the following link:

    https://discord.com/api/oauth2/authorize?client_id=your_discord_bot_client_id_here&permissions=0&scope=bot%20applications.commands
  2. Run the Bot

    python main.py
  3. Bot Commands

    Use /prrr <words> in any channel the bot has access to fetch a cat GIF based on the words provided.

๐Ÿงช Testing

This project includes basic unit tests. To run the tests, execute the following command:

python -m unittest discover tests

๐Ÿ“œ License

This project is licensed under the MIT License. See the LICENSE file for more details.


๐Ÿ™ Acknowledgements

Inspired by various Discord bot projects and cat lovers everywhere.


Feel free to contribute to this project. For any issues, please open an issue or submit a pull request.

Discord

About

Silly python discord bot to send cat gifs via GIPHY with /prrr command ๐Ÿฑโ€๐Ÿ‘ค


Languages

Language:Python 100.0%