Skip to content

ServerDeveloper9447/power-guilds-public

Repository files navigation

Power Guilds

Power Guilds was a feature-rich, multi-purpose bot designed for the Guilded platform. It provided a tools for server security, moderation, entertainment, and AI-driven interactions.

Note: As of April 2026, Guilded has officially shut down (Dec 19, 2025). This repository serves as a legacy archive of the bot's codebase and architectural patterns.

All internal API URLs and secrets have been replaced with [REDACTED] where applicable and removed completely in some places for the sake of public release.

From the developer This was my dream project at that time. Before this, I had a Discord bot named CraftBlur (ik it's stupid name), but it didn't got the attention it deserved (on discord, it's a lot of competition). So, after discovering Guilded and their bot API became stable, I decided to start a bot there. My initial thought was to port CraftBlur but that codebase itself was broken asf.

I shut down CraftBlur and decided to work on Power Guilds full time. I was still in school at that time and learnt javascript with nodejs. So, I fired up my laptop and coded this with improvements every month or so, and it blew up. People were loving the bot, loving the features and overall praising the bot. You can say, it was one of the largest bots of Guilded. Even Guilded themselves showcased it on their twitter page. I invested myself fully on this bot.

Everything was going great, but then disaster struck. Roblox announced that they were shutting down Guilded.
It was devastating news for me (you may think im exaggerating here, but trust me, im not). Thinking about shutting down something you poured your heart in, was very hard. But I had to do it, I had no other choice (like I even had a choice). So, with a heavy heart, I shut this bot down at the end of October, 2025. You may ask, why October? why not wait until December? to answer that, I didn't want it to go down like a hopeless passenger along with the titanic, but a peaceful end of it. The community around it, waved it goodbye, wrote goodbye messages to both the bot and the platform, and I went to bed with a heavy feeling of loosing something precious.
To be honest, I still cannot believe that Guilded has been shut down and Power Guilds has gone dark.

This source code is part of the promise I made to the Power Guilds community. I apologize for the delay for it's release as removing copyrighted materials (which i didn't even know were copyrighted) takes time and my engineering course at my college kept me busy. Unfortunately, I cannot disclose the repo with the full commit history because of copyright issues.

This bot was written in full javascript before GPT and Gemini could even handle this kind of project. Only some utils and stuff has been written completely with AI, the large bulk of the codebase is still written by me (im a human). And this was before I knew industry practices and proper coding styles so you should see beginner level code here and there.

This codebase is now so cluttered that my past self and god knows how it works. So, don't ask me for clarifications. Also, this latest commit hasn't been ran to check if it still works. I just didn't change the core logic of anything so everything should still work with proper env secrets and configurations.

If someone brings this bot back to life, please contact me by raising an issue in this repo. I would be much happy to see it alive again.

Till next time.
ServerDeveloper9447 out.

🚀 Features

🛡️ Security & Moderation

  • EntryGate: External verification system using Cloudflare Turnstile to prevent bot raids.
  • Filters: Real-time detection and automated action against Zalgo text, profanity, and malicious URLs.
  • NSFW Protection: Automated image classification using @nsfwspy/node to keep channels safe.
  • Robust Logging: Detailed logging of server events (bans, kicks, message deletions) to a configurable log channel.
  • Ticket System: Ticket management for server staff.

🤖 AI Capabilities

  • Imagine: AI art generation from text prompts using various models (Stable Diffusion, SDXL, OpenJourney).
  • OCR: Optical Character Recognition via tesseract.js to extract text from images.
  • AI Chat: Interactive chat sessions powered by Llama-2-70b (Meta AI).

🎮 Games & Fun

  • Games: Trivia, Roulette, Hangman, FastType, Minesweeper, and ChaosWords.
  • Utilities: Google Search, Wikipedia (XKCD), Currency conversion, and Binary encoding/decoding.
  • Anime: Detailed character/anime info and a wide range of interactive reaction commands (hug, pat, kiss, etc.).

💰 Economy (Beta)

  • A work-in-progress global economy system featuring jobs, multipliers, skill levels, and a shop.

🛠️ Tech Stack

Lifetime Stats

Statistic Value
Guilds Count 8500+
Users Count 10000+
Messages Sent Count 10000+ (Estimated)

⚙️ Configuration

The bot utilizes a .env file for sensitive credentials. See .env.example for a full list of required variables, including:

  • token: Guilded Bot Token
  • uri: MongoDB Connection String
  • imgbbkey: API key for image hosting
  • turnstile_secret: Cloudflare Turnstile secret for verification

📂 Project Structure

  • index.js: The main entry point initializing the client and database.
  • handler.js: Custom command loader that dynamically walks the commands/ directory.
  • Commands.js: A specialized Map extension for efficient command management (courtesy of discord.js).
  • site.js: Express server handling the web-based verification flow.
  • assets/: Shared utilities, logging functions, and permission handlers.

🤖 Run Yourself

This source code was previously private and was not supposed to be public. This has been made public in order to be used for educational purposes. Hence, no guide has been given to set it up yourself.

Anyone who is interested in running this bot, needs to figure it out themselves. As guilded has been shut down, be sure to port the code to discord.js if you wanna run it.

🤝 Contributions

Since, this is a legacy codebase and it is not actively maintained, please don't raise any pull requests or issues for code as those will be ignored. Only pull requests and issues about potential copyrights and leaked secrets would be honoured.

📃 Third-Party Disclaimer

This repository may contain or reference trademarks, logos, icons, or other materials owned by third parties. All rights to these materials are reserved by their respective owners.

The use of these materials is for identification and informational purposes only and does not imply endorsement or affiliation. The maintainers of this project:

  1. Do not claim ownership of any third-party assets.
  2. Are not liable for any issues, legal or otherwise, arising from the use or performance of external services, APIs, or materials referenced herein.
  3. Provide such references "as is" without any warranty.

This project is not associated officially with Guilded in any way. It is a personal project created by ServerDeveloper9447.

📜 License

This project is licensed under the GNU Affero General Public License v3. See the LICENSE file for the full text.

About

A multipurpose Guilded bot.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors