Skip to content

Add self-management (presence, etc.) tools#18

Draft
SootyOwl wants to merge 10 commits intobarryyip0625:mainfrom
SootyOwl:feat/add-self-management-tools
Draft

Add self-management (presence, etc.) tools#18
SootyOwl wants to merge 10 commits intobarryyip0625:mainfrom
SootyOwl:feat/add-self-management-tools

Conversation

@SootyOwl
Copy link
Copy Markdown
Contributor

This pull request adds new capabilities for managing the bot's presence, nickname, bio, and global "About Me" information. It introduces these new tools in tools/presence.ts:

  • discord_set_presence: Sets the bot's presence (status and activity) in Discord.
  • discord_set_nickname: Sets the bot's nickname on a server.
  • discord_set_bio: Sets the bot's bio on a server.
  • discord_set_about_me: Sets the bot's About Me information.

Copilot AI and others added 10 commits October 21, 2025 11:03
Co-authored-by: SootyOwl <7614538+SootyOwl@users.noreply.github.com>
- Replace setBotStatus and setBotActivity handlers with a unified
  setBotPresence handler.
- Introduce SetPresenceSchema for validating presence data.
- Enhance presence setting to include AFK status and activities.
- Implement setNicknameHandler to update bot's nickname in a guild.
- Implement setAboutMeHandler to update bot's 'About Me' section.
- Add corresponding schemas for validation.
- Require guildId in SetNicknameSchema
- Allow resetting nickname by passing undefined
- Clarified the description for the 'About Me' section
- Ensured consistency in schema documentation
- Introduce SetBioSchema for validating bio input.
- Implement setBioHandler to update bot bio in a specific guild.
- Refactor existing handlers to maintain consistency.
- Implement setNicknameHandler and setBioHandler
- Update request handling to include new functionalities
- Add `discord_set_bio` to set or clear the bot's bio in a server
- Add `discord_set_nickname` to set or clear the bot's nickname in a server
- Update toolList with new commands and descriptions
- Upgrade discord.js to version 14.23.2
@SootyOwl SootyOwl changed the title Feat/add self management tools Add self-management (presence, etc.) tools Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants