Remove redundant original code (pterodisbot.py) #4

Merged
k.eaven merged 1 commits from development into main 2026-10-26 11:43:40 +00:00
Owner

Summary

Removes the original monolithic pterodisbot.py (1585 lines) now that the modular refactor is complete and merged to main.

Changes

  • Deleted pterodisbot.py - the original single-file implementation that has been replaced by the 10-module modular structure

Context

  • The modular refactor (PR #2, released as v1.2.0) split pterodisbot.py into 10 separate modules:
    • config.py, api.py, models.py, metrics.py, embeds.py, views.py, bot.py, main.py, logging_config.py, exceptions.py
  • All functionality has been migrated and tested (33 tests passing)
  • The original file is now redundant and can be safely removed
## Summary Removes the original monolithic `pterodisbot.py` (1585 lines) now that the modular refactor is complete and merged to main. ### Changes - Deleted `pterodisbot.py` - the original single-file implementation that has been replaced by the 10-module modular structure ### Context - The modular refactor (PR #2, released as v1.2.0) split `pterodisbot.py` into 10 separate modules: - `config.py`, `api.py`, `models.py`, `metrics.py`, `embeds.py`, `views.py`, `bot.py`, `main.py`, `logging_config.py`, `exceptions.py` - All functionality has been migrated and tested (33 tests passing) - The original file is now redundant and can be safely removed
k.eaven added 1 commit 2026-10-26 11:41:22 +00:00
Remove redundant original code
CI/CD Pipeline / Unit Tests (Python 3.11) (push) Successful in 33s
CI/CD Pipeline / Unit Tests (Python 3.13) (push) Successful in 35s
CI/CD Pipeline / Code Quality & Linting (push) Successful in 30s
CI/CD Pipeline / Security Scanning (push) Successful in 29s
CI/CD Pipeline / Unit Tests (Python 3.12) (push) Successful in 21s
CI/CD Pipeline / Integration Tests (push) Successful in 25s
CI/CD Pipeline / Generate Test Report (push) Successful in 5s
CI/CD Pipeline / Build Docker Image (push) Successful in 55s
CI/CD Pipeline / CI/CD Pipeline Status (push) Successful in 1s
CI/CD Pipeline / Unit Tests (Python 3.13) (pull_request) Successful in 1m17s
CI/CD Pipeline / Unit Tests (Python 3.12) (pull_request) Successful in 1m17s
CI/CD Pipeline / Unit Tests (Python 3.11) (pull_request) Successful in 1m17s
CI/CD Pipeline / Code Quality & Linting (pull_request) Successful in 29s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 32s
CI/CD Pipeline / Security Scanning (pull_request) Successful in 38s
CI/CD Pipeline / Build Docker Image (pull_request) Skipped
CI/CD Pipeline / Generate Test Report (pull_request) Successful in 4s
CI/CD Pipeline / CI/CD Pipeline Status (pull_request) Successful in 2s
25cf7fed34
k.eaven merged commit e68b248033 into main 2026-10-26 11:43:40 +00:00
Sign in to join this conversation.