Skip to content

Improve development experience - #199

Merged
jeremy-rifkin merged 43 commits into
TCCPP:mainfrom
xLuxy:improvements
Feb 7, 2026
Merged

Improve development experience#199
jeremy-rifkin merged 43 commits into
TCCPP:mainfrom
xLuxy:improvements

Conversation

@xLuxy

@xLuxy xLuxy commented Jan 28, 2026

Copy link
Copy Markdown
Contributor

This PR improves the development experience by checking for channel and role names while not being in production mode and resolves them with given channel name.

@Rinzii Rinzii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review as requested by luxy.

Comment thread src/modules/tccpp/components/c-help-redirect.ts Outdated
Comment thread src/modules/tccpp/components/c-help-redirect.ts Outdated
Comment thread src/modules/tccpp/components/c-help-redirect.ts Outdated
Comment thread src/bot-utilities.ts Outdated
Comment thread src/bot-utilities.ts Outdated
Comment thread src/bot-utilities.ts Outdated

@jeremy-rifkin jeremy-rifkin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for taking the time to contribute to the bot! Some initial comments below

Comment thread src/modules/wheatley/components/moderation/rolepersist.ts Outdated
Comment thread src/modules/tccpp/components/permissions-manager.ts Outdated
Comment thread src/modules/tccpp/components/server-suggestion-tracker.ts
Comment thread src/modules/tccpp/components/starboard.ts
Comment thread src/modules/tccpp/components/forum-channels.ts Outdated
Comment thread src/wheatley.ts Outdated
@xLuxy
xLuxy force-pushed the improvements branch 2 times, most recently from 4db3117 to 21d5eee Compare February 5, 2026 23:45
Comment thread src/modules/tccpp/components/anti-screenshot.ts Outdated
Comment thread src/modules/tccpp/components/autoreact.ts Outdated
.set_alias_of("rolepersist add")
.set_permissions(Discord.PermissionFlagsBits.ModerateMembers)
.set_description(`${capitalize(role).replace("_", " ")}`)
.set_description(`${capitalize(role as string).replace("_", " ")}`)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of keyof Wheatley["roles"] above being string | number - i didn't really wanna mess with it - if you have a better approach please let me know.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused how keyof Wheatley["roles"] is string | number, and how that changed in this PR 🤔

Comment thread src/modules/wheatley/components/code.ts Outdated
Comment thread src/wheatley.ts Outdated
Comment thread src/wheatley.ts Outdated
Comment thread src/bot-utilities.ts Outdated
@xLuxy
xLuxy marked this pull request as ready for review February 6, 2026 02:10
@xLuxy
xLuxy marked this pull request as draft February 6, 2026 02:10
@xLuxy
xLuxy marked this pull request as ready for review February 6, 2026 03:24

@jeremy-rifkin jeremy-rifkin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much again for taking this on and helping us make the development experience better! Some comments below, I think this is very close to being good to go

Comment thread src/modules/tccpp/components/server-suggestion-tracker.ts
Comment thread src/modules/tccpp/components/starboard.ts Outdated
Comment thread src/wheatley.ts Outdated
Comment thread src/modules/tccpp/components/permissions-manager.ts Outdated
Comment thread src/wheatley.ts Outdated
Comment thread src/bot-utilities.ts Outdated
Comment thread src/bot-utilities.ts
Comment thread src/bot-utilities.ts Outdated
Comment thread src/wheatley.ts Outdated
Comment thread src/wheatley.ts Outdated

@jeremy-rifkin jeremy-rifkin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for taking the time to help us make the dev experience better and thanks for all your patience!

@sonarqubecloud

sonarqubecloud Bot commented Feb 7, 2026

Copy link
Copy Markdown

@jeremy-rifkin
jeremy-rifkin merged commit c41bdb7 into TCCPP:main Feb 7, 2026
6 checks passed
jeremy-rifkin added a commit that referenced this pull request Feb 7, 2026
jeremy-rifkin added a commit that referenced this pull request Feb 8, 2026
This is part 2 of the work started in #199. The previous work helped
move us in the right direction with our reliance on hard-coded ids, this
PR updates all components to fetch the channels they use and only refer
to channels via a map they hold.
jeremy-rifkin added a commit that referenced this pull request Feb 8, 2026
Part 3 to the work done in #199 and #201 

This gets rid of the channel map in wheatley and moves definitions to
the modules that need them
@xLuxy
xLuxy deleted the improvements branch February 17, 2026 11:55
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.

3 participants