Server Co-Pilot banner

Server Co-Pilot

5 devlogs
12h 6m 6s

So during this era where you have agents for everything, why not discord, for a long time discord bots have stayed the same, there is a prefix, and a command (now slash commands too), but i think this will be way better.
The discord server owners…

So during this era where you have agents for everything, why not discord, for a long time discord bots have stayed the same, there is a prefix, and a command (now slash commands too), but i think this will be way better.
The discord server owners’ dream, An admin that listens to you, does work instantly and accurately, never complains and is always online.

This project uses AI
  • To create system prompts and tool definitions
  • Code reformatting/refactoring
  • Minor Debugging
Demo Repository

Loading README...

i250882

Progress

  • Add DB for per server persistent configs.
  • Add Logging of Bot’s actions.
  • Add an initialize command to setup bot in a server.
  • Add restrictions for who can give bot commands.
  • Made bot aware of some errors for better context and responses.
  • Add a basic system prompt for bot.

Next Tasks

  • Add multi server support
  • Add permissions setup
  • Fix some existing edge case bugs

Changelog

Ai was used to write system prompt and reformatting

Attachment
Attachment
Attachment
0
i250882

Progress

  • Detailed declaration of almost all tools for gemini API
  • Made a little TODO list

Next

  • I realized security and logs will be crucial for this project, because it uses an AI agent, so need to work on that, also i do have a todo list now, so will be checking a few of them too.

Changelog

AI was used to create gemini api declarations of existing python functions

Attachment
Attachment
0
i250882

Progress

  • Add two new tools to manage categories
  • Improve old tools
  • Add error handling

Time Spent Details

  • So, I was unaware of this concept that exceptions inside coroutines can get silently dropped without raising errors, so my code was failing silently, i had no idea why, it took a while to trace it and fix, and other than that it was just basic tool definitions and most of the time went untracked because it was on discord.py docs and testing bot inside discord.

Changelog


Known Issues Seen in Video

  • Bot is very slow (probably google’s fault)
  • Inconsistent (Due to bad tool descriptions)
0
i250882

About Project

  • An AI agent server admin for your discord server, unlike traditional discord bots which work on fixed commands, with this bot, you should be able to manage your server just by talking.

Progress

  • So i have a basic agentic loop and some tools ready, in the screenshot attached the bot actually called a couple of tools to rename channel, it first fetched all the channels, filtered id and then called a tool to rename. So i know agentic loop is working.

Next

  • I will try to add some thinking steps in the response, I havent formed a system prompt yet, so thats what i will do and at last need to figure how to manage the message context, would it be channel scoped or server scoped? should it be depending on times or number of messages?

Changelog

Attachment
0