Skip to content

hllywluis/kekbot-js

Repository files navigation

Kekbot.js

A simple Discord bot with essential moderation and utility commands.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Copyright (C) 2025 Luis Bauza

This program comes with ABSOLUTELY NO WARRANTY; for details see the LICENSE file. This is free software, and you are welcome to redistribute it under certain conditions described in the license.

Features

  • Modern Discord.js v14 implementation
  • Slash commands for better user experience
  • Essential moderation commands (kick, prune)
  • AI-powered question answering with optional web search capability
  • Help command for easy reference

Commands

  • /help - Lists all available commands
  • /ping - Check if the bot is responsive
  • /kick - Kick a user from the server (requires Kick Members permission)
  • /prune - Delete up to 99 messages (requires Manage Messages permission)
  • /ask - Ask a question to the AI (supports optional web search for up-to-date information)

Setup

  1. Create a .env file with your bot token and client ID:
DISCORD_TOKEN=your_token_here
CLIENT_ID=your_client_id_here
OPENROUTER_API_KEY=your_openrouter_api_key_here
  1. Install dependencies:
npm install
  1. Deploy slash commands:
npm run deploy
  1. Start the bot:
npm start

Requirements

  • Node.js 16.9.0 or higher
  • Discord.js v14
  • A Discord bot token and application ID

About

The continuation of KekBot, now written in JavaScript using Node.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published