Skip to content

Revert "Feature/capr 23 scaffold event cog from deprecated repo" - #77

Merged
shamikkarkhanis merged 1 commit into
developfrom
revert-70-feature/capr-23-scaffold-event_cog-from-deprecated-repo
Feb 10, 2026
Merged

Revert "Feature/capr 23 scaffold event cog from deprecated repo"#77
shamikkarkhanis merged 1 commit into
developfrom
revert-70-feature/capr-23-scaffold-event_cog-from-deprecated-repo

Conversation

@shamikkarkhanis

@shamikkarkhanis shamikkarkhanis commented Feb 10, 2026

Copy link
Copy Markdown
Member

Reverts #70

Summary by Sourcery

Revert the previously added event system integration and its configuration.

Enhancements:

  • Remove the event extension package and its associated modules from the codebase.
  • Drop the event announcement channel configuration from the application settings.

@linear

linear Bot commented Feb 10, 2026

Copy link
Copy Markdown

Issue reopened: CAPR-23 Scaffold event_cog from deprecated repo

@sourcery-ai

sourcery-ai Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Reverts the previously added event system by removing its configuration fields and deleting the event extension package and related schemas and event logic.

Class diagram for reverted event configuration in Settings

classDiagram
    class EnvConfig

    class Settings_previous {
        int ticket_feedback_channel_id
        int event_feedback_channel_id
        int ticket_category_id
        int managed_role_id
        int staff_role_id
        int log_channel_id
        int suggestion_channel_id
        int suggestion_approval_channel_id
        int suggestion_denial_channel_id
        int suggestion_log_channel_id
        int suggestion_threshold
        int ticket_feedback_channel_id
        string announcement_channel_name
    }

    class Settings_current {
        int ticket_feedback_channel_id
        int event_feedback_channel_id
        int ticket_category_id
        int managed_role_id
        int staff_role_id
        int log_channel_id
        int suggestion_channel_id
        int suggestion_approval_channel_id
        int suggestion_denial_channel_id
        int suggestion_log_channel_id
        int suggestion_threshold
        int ticket_feedback_channel_id
    }

    EnvConfig <|-- Settings_previous
    EnvConfig <|-- Settings_current
Loading

File-Level Changes

Change Details Files
Remove event system configuration from the global settings.
  • Delete the event announcement channel name configuration field from the settings model.
  • Clean up now-unused configuration comments related to the event system.
capy_discord/config.py
Remove the event extension and associated implementation files.
  • Delete the event extension package initializer.
  • Delete the event schemas module.
  • Delete the main event cog/event logic module.
capy_discord/exts/event/__init__.py
capy_discord/exts/event/_schemas.py
capy_discord/exts/event/event.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot 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.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@shamikkarkhanis
shamikkarkhanis merged commit 69f73b7 into develop Feb 10, 2026
3 checks passed
@shamikkarkhanis
shamikkarkhanis deleted the revert-70-feature/capr-23-scaffold-event_cog-from-deprecated-repo branch February 10, 2026 18:17
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.

1 participant