Skip to content

prynixdevs/discordbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Prynix Discord Bot

Built by Prynix which is a collaborative community of passionate high school developers exploring the world of technology through hands-on projects and continuous learning.

A smart Discord bot with intelligent chat capabilities, moderation tools, and essential server utilities. Created by Prasoon Kandel and the Prynix team, this bot brings AI-powered assistance and useful features to your Discord server.

πŸ”΄ Status: Archived & Offline

This bot is now archived and is no longer active or running.

The current version is offline will not work on discord.

However, the source code is still available for learning and experimentation. You are welcome to fork this repository, modify it, and build your own version based on this project.

This project is no longer maintained.

About Prynix

Prynix is a team of ambitious high school students who share a common passion for technology and innovation. Founded and led by Prasoon Kandel, our community brings together young minds from around the world to collaborate, learn, and build the future together. We're proudly affiliated with the Hack Club network.

Add to Your Server

Invite Prynix Bot

Click the link above to add the bot to your Discord server.

Features

AI Chat Integration

  • AI-powered direct message responses
  • Intelligent conversation handling with context awareness
  • Custom personality and knowledge about the developer

Moderation Commands

  • /kick4 <member> - Kick a member from the server (requires Administrator or Moderator role)
  • /spam <times> <text> - Send repeated messages (requires Administrator or Moderator role)
  • /notifyall <title> <description> - Send notifications to all server members via DM (requires Administrator or Moderator role)
  • /announcement <title> <description> - Post an announcement in the current channel (requires Administrator or Moderator role)

Utility Commands

  • /calc <expression> - Calculate mathematical expressions
  • /chat <message> - Chat with the AI bot in any channel
  • /notify <member> <title> <description> - Send a notification to a specific member
  • /mathquote - Get an inspirational mathematics quote

Automatic Features

  • Welcome messages sent via DM when members join
  • Goodbye messages sent via DM when members leave
  • AI-powered DM conversations

Requirements

  • Python 3.8 or higher
  • Discord.py 2.0.0 or higher
  • python-dotenv 1.0.0 or higher
  • requests 2.31.0 or higher

Installation

  1. Clone this repository:
git clone <repository-url>
cd "Discord Bot"
  1. Install required dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory with the following variables:
DISCORD_TOKEN=your_discord_bot_token
AI_KEY=your_ai_api_key
  1. Run the bot:
python main.py

Configuration

Environment Variables

  • DISCORD_TOKEN - Your Discord bot token from the Discord Developer Portal
  • AI_KEY - Your AI API key for AI chat functionality

Bot Permissions

The bot requires the following Discord permissions:

  • Send Messages
  • Embed Links
  • Kick Members
  • Read Message History
  • Send Messages in DM
  • View Channels
  • Read Messages/View Channels

Intents

The bot uses the following Discord intents:

  • Message Content Intent
  • Server Members Intent
  • All standard intents

Project Structure

Discord Bot/
β”œβ”€β”€ main.py              # Main bot file with commands and events
β”œβ”€β”€ back.py              # AI chat backend and API integration
β”œβ”€β”€ requirements.txt     # Python dependencies
β”œβ”€β”€ .env                 # Environment variables (not included)
└── README.md           # This file

Usage

Setting Up Bot Permissions

Ensure your bot has Administrator permissions or create a "Moderator" role for users who should access moderation commands.

AI Chat

Users can send direct messages to the bot to have AI-powered conversations.

Example Commands

/calc 2 + 2 * 5
/chat What is Python?
/announcement "Server Update" "We have new rules!"
/notify @User "Reminder" "Don't forget about the event!"

Developer

Created by Prasoon Kandel

Community

This bot is developed as part of the Prynix community - a collaborative team of ambitious high school students who share a common passion for technology and innovation. We believe that age is just a number when it comes to creating meaningful solutions and pushing the boundaries of what's possible in tech.

Connect With Us

What We Do

At Prynix, we:

  • Build and collaborate on real-world projects
  • Learn new technologies and frameworks
  • Connect with peers who share similar interests
  • Participate in hackathons and coding challenges
  • Turn ideas into reality with mentorship and support

Logging

The bot creates a discord.log file that records all bot activity and errors for debugging purposes.

Contributing

Contributions, issues, and feature requests are welcome. Feel free to check the issues page or submit a pull request.

License

This project is open source and available for educational purposes.

Acknowledgments

  • Special thanks to all Prynix team members who contribute their time, skills, and passion

  • Grateful to Hack Club for connecting student developers worldwide

  • Built with passion by the upcoming generation of developers

  • Powered by discord.py and AI technology

  • Discord.py library for the excellent Discord API wrapper

  • The Prynix community for support and collaboration


Built with dedication by the next generation of developers at Prynix.

About

Smart Discord bot with intelligent chat, moderation tools, and essential server utilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages