[PR #193] [MERGED] MOD THINGS #197

Closed
opened 2026-03-02 04:00:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/eerimoq/moblin/pull/193
Author: @id3adeye
Created: 12/14/2025
Status: Merged
Merged: 12/18/2025
Merged by: @eerimoq

Base: mainHead: mod


📝 Commits (8)

  • c61587e MOD THINGS
  • b2f1384 more ui fixs and fix @AppStorage
  • 78a1e46 right click for mac
  • a804b50 updates :)
  • 255054c renamed Channel Management and moved host/raid to it
  • 4970371 some clean up of style
  • 759dabf removed User from the end of text
  • 37e8885 update to titles now use sentence case

📊 Changes

8 files changed (+1503 additions, -31 deletions)

View changed files

📝 Moblin/StreamingPlatforms/Kick/KickApi.swift (+140 -2)
📝 Moblin/StreamingPlatforms/Twitch/TwitchApi.swift (+97 -17)
📝 Moblin/StreamingPlatforms/Twitch/TwitchAuth.swift (+4 -0)
📝 Moblin/Various/Model/ModelKick.swift (+151 -2)
📝 Moblin/Various/Model/ModelTwitch.swift (+203 -3)
📝 Moblin/Various/Settings/SettingsChat.swift (+5 -1)
Moblin/View/ControlBar/QuickButton/ModActionsView.swift (+870 -0)
📝 Moblin/View/ControlBar/QuickButton/QuickButtonChatView.swift (+33 -6)

📄 Description

Add Mod Actions Panel

Adds a new Moderator Actions panel accessible from the chat quick button,
supporting both Twitch and Kick platforms.

Features

  • User Moderation: Ban, Timeout, UnBan, Mod, UnMod, VIP, UnVIP
  • Chat Modes: Slow Mode, Followers Only, Emote Only, Subscribers Only
    (with off toggles)
  • Channel Management:
    • Kick: Create Poll, Delete Poll, Create Prediction, Raid/Host
    • Twitch: Run Commercial, Send Announcement (with color picker) ,Raid/Host

UI

  • Platform switcher when both Twitch and Kick are logged in
  • Context menu on chat button to switch between Mod Actions and Predefined
    Messages
  • Remembers last selected option

API Additions

Kick (KickApi.swift)

  • vipUser / unvipUser - VIP management
  • hostChannel - Host another channel
  • setSlowMode - Enable/disable slow mode with interval
  • setFollowersMode - Enable/disable followers only mode
  • setEmoteOnlyMode - Enable/disable emote only mode
  • setSubscribersOnlyMode - Enable/disable subscribers only mode
  • createPoll / deletePoll - Poll management
  • createPrediction - Create predictions

Twitch (TwitchApi.swift)

  • addVIP / removeVIP - VIP management
  • sendAnnouncement - Send chat announcement with color
  • updateChatSettings - Slow mode, followers mode, emote only, subscribers
    only

OAuth Scopes

  • Added channel:manage:vips for VIP management
  • Added moderator:manage:announcements for announcements

Testing

All API endpoints manually tested on both Kick and Twitch platforms:

  • User moderation actions (ban, timeout, unban, mod, unmod, vip, unvip)
  • Chat mode toggles (slow, followers, emote only, subscribers only)
  • Kick polls and predictions
  • Twitch commercials and announcements
  • Host/Raid functionality

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/eerimoq/moblin/pull/193 **Author:** [@id3adeye](https://github.com/id3adeye) **Created:** 12/14/2025 **Status:** ✅ Merged **Merged:** 12/18/2025 **Merged by:** [@eerimoq](https://github.com/eerimoq) **Base:** `main` ← **Head:** `mod` --- ### 📝 Commits (8) - [`c61587e`](https://github.com/eerimoq/moblin/commit/c61587e77a6b6fa98575601180d9cb1c113a8d1b) MOD THINGS - [`b2f1384`](https://github.com/eerimoq/moblin/commit/b2f138482300fa9074845222e0105a8908abc608) more ui fixs and fix @AppStorage - [`78a1e46`](https://github.com/eerimoq/moblin/commit/78a1e46d23bcf9ff093d83c8c86c33211751de81) right click for mac - [`a804b50`](https://github.com/eerimoq/moblin/commit/a804b50972f868f5783eab99038e28be9acfa523) updates :) - [`255054c`](https://github.com/eerimoq/moblin/commit/255054c5f288b50737410eded5765a1840aa6f8c) renamed Channel Management and moved host/raid to it - [`4970371`](https://github.com/eerimoq/moblin/commit/49703719824cb81b67e266a3d3066b62b0ec26d1) some clean up of style - [`759dabf`](https://github.com/eerimoq/moblin/commit/759dabfa74f8b38ff48d83e0fcb94c5b39328193) removed User from the end of text - [`37e8885`](https://github.com/eerimoq/moblin/commit/37e88854e8f2587b387c905b430781e117cab7e7) update to titles now use sentence case ### 📊 Changes **8 files changed** (+1503 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `Moblin/StreamingPlatforms/Kick/KickApi.swift` (+140 -2) 📝 `Moblin/StreamingPlatforms/Twitch/TwitchApi.swift` (+97 -17) 📝 `Moblin/StreamingPlatforms/Twitch/TwitchAuth.swift` (+4 -0) 📝 `Moblin/Various/Model/ModelKick.swift` (+151 -2) 📝 `Moblin/Various/Model/ModelTwitch.swift` (+203 -3) 📝 `Moblin/Various/Settings/SettingsChat.swift` (+5 -1) ➕ `Moblin/View/ControlBar/QuickButton/ModActionsView.swift` (+870 -0) 📝 `Moblin/View/ControlBar/QuickButton/QuickButtonChatView.swift` (+33 -6) </details> ### 📄 Description Add Mod Actions Panel Adds a new Moderator Actions panel accessible from the chat quick button, supporting both Twitch and Kick platforms. Features - User Moderation: Ban, Timeout, UnBan, Mod, UnMod, VIP, UnVIP - Chat Modes: Slow Mode, Followers Only, Emote Only, Subscribers Only (with off toggles) - Channel Management: - Kick: Create Poll, Delete Poll, Create Prediction, Raid/Host - Twitch: Run Commercial, Send Announcement (with color picker) ,Raid/Host UI - Platform switcher when both Twitch and Kick are logged in - Context menu on chat button to switch between Mod Actions and Predefined Messages - Remembers last selected option API Additions Kick (KickApi.swift) - vipUser / unvipUser - VIP management - hostChannel - Host another channel - setSlowMode - Enable/disable slow mode with interval - setFollowersMode - Enable/disable followers only mode - setEmoteOnlyMode - Enable/disable emote only mode - setSubscribersOnlyMode - Enable/disable subscribers only mode - createPoll / deletePoll - Poll management - createPrediction - Create predictions Twitch (TwitchApi.swift) - addVIP / removeVIP - VIP management - sendAnnouncement - Send chat announcement with color - updateChatSettings - Slow mode, followers mode, emote only, subscribers only OAuth Scopes - Added channel:manage:vips for VIP management - Added moderator:manage:announcements for announcements Testing All API endpoints manually tested on both Kick and Twitch platforms: - ✅ User moderation actions (ban, timeout, unban, mod, unmod, vip, unvip) - ✅ Chat mode toggles (slow, followers, emote only, subscribers only) - ✅ Kick polls and predictions - ✅ Twitch commercials and announcements - ✅ Host/Raid functionality --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:00:41 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/moblin#197
No description provided.