Skip to main content

A Fast Discord Bot Framework

Project description

PyPI - Version PyPI - Downloads CI Pipeline Publish to PyPI

FastDC — A powerful library for creating Discord bots quickly. All commands have prefix + slash support.


Installation

pip install fastdc

Quick Start

from fastdc import FastBot

bot = FastBot(token="YOUR_TOKEN")
bot.add_ai_provider("groq", "API_KEY")
bot.ai_chat(provider="groq")
bot.setup_command_categories()
bot.add_moderation_commands()
bot.add_utility_commands()
bot.add_poll_commands()
bot.add_ticket_system()
bot.add_giveaway_commands()
bot.add_reminder_commands()
bot.add_custom_commands()
bot.enable_leveling()
bot.enable_afk_system()
bot.setup_event_logging()
bot.auto_reply(trigger="hi", response="Hello!")
bot.welcome_member()
bot.leave_member()
bot.enable_anti_spam(max_messages=5, interval=5, action="warn")
bot.set_presence(activity_type="playing", activity_name="FastDC")
bot.run()

Commands

Command Description
!ai /ai AI chat
!kick !ban !clear Moderation
!ping !serverinfo !bothelp Utility
!poll /poll Polls
!ticket !close Tickets
!giveaway /giveaway Giveaways
!remind /remind Reminders
!addcmd !delcmd !listcmds Custom commands
!rank !leaderboard Leveling
!afk /afk AFK status
!rolepanel /rolepanel Button roles

Features

  • AI — Groq + OpenAI with optional knowledge context
  • Giveaway — Timed with random winner
  • Reminder — DM after delay
  • Custom Commands — Admin creates/deletes at runtime
  • Leveling — XP per message, rank card, leaderboard
  • AFK — Status + auto-notify on mention
  • Starboard — Popular messages reposted
  • Temp Voice — Auto-create/delete VCs
  • Button Roles — Discord component role picker
  • Anti-Spam — Mute/kick/warn on spam
  • Embed Builder — QuickEmbed helpers
  • Paginator — Multi-page embeds with buttons
  • Scheduler — Delayed messages

Setup

  1. Discord Developer Portal
  2. Groq: console.groq.com | OpenAI: platform.openai.com

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastdc-2.2.0.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastdc-2.2.0-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file fastdc-2.2.0.tar.gz.

File metadata

  • Download URL: fastdc-2.2.0.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fastdc-2.2.0.tar.gz
Algorithm Hash digest
SHA256 fb8b11f605ebb2fe833e014c3c8ecd259614025ad8dd6e3aed2100b800cd45b1
MD5 55aa0af82eeaebdc15eb908e80f84697
BLAKE2b-256 d78d72e7591a430327cdb42f68ca58d98b1ece571cb87bfcf776559c6aa4539d

See more details on using hashes here.

File details

Details for the file fastdc-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: fastdc-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 49.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fastdc-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60312939f2739bec78901d337d16946f28a556559a2298c1b63e4c9583cf4236
MD5 9856520bf4dd7e369917f7b70a4070f2
BLAKE2b-256 94c3c1cfa54838c009edc816ebf6209448c763b9b5b23fe19454f68f973d8618

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page