help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
discord-ai-bot
RSK World
discord-ai-bot
Discord AI Bot - Python + discord.py + OpenAI API + AI Bot + Server Management + Moderation
discord-ai-bot
  • __pycache__
  • cogs
  • .env712 B
  • .env.example198 B
  • .gitignore584 B
  • LICENSE1.2 KB
  • README.md1.4 KB
  • bot.py1.7 KB
  • config.py739 B
  • discord-ai-bot.svg1.3 KB
  • discord-ai-bot.zip22.6 KB
  • index.html6.2 KB
  • requirements.txt163 B
  • style.css4.6 KB
config.py
config.py
Raw Download
Find: Go to:
"""
Discord AI Bot - Configuration
Author: RSK World
Website: https://rskworld.in
Email: help@rskworld.in
Phone: +91 93305 39277
Year: 2026
"""

import os
from dotenv import load_dotenv

load_dotenv()

# Bot Settings
BOT_PREFIX = "!"
INITIAL_EXTENSIONS = [
    'cogs.ai',
    'cogs.moderation',
    'cogs.management',
    'cogs.logging',
    'cogs.automation'
]

# AI Settings
OPENAI_API_KEY = os.getenv('OPENAI_API_KEY')
AI_MODEL = "gpt-3.5-turbo"

# Server Settings
LOG_CHANNEL_ID = os.getenv('LOG_CHANNEL_ID')
# Convert to int if it's set and is a valid number
if LOG_CHANNEL_ID:
    try:
        LOG_CHANNEL_ID = int(LOG_CHANNEL_ID)
    except (ValueError, TypeError):
        LOG_CHANNEL_ID = None
37 lines•739 B
python

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer