[V3 RPC] Tracking for the addition of new RPC methods #2630

Closed
opened 2019-04-29 17:55:01 +02:00 by NeuroAssassin · 2 comments
NeuroAssassin commented 2019-04-29 17:55:01 +02:00 (Migrated from github.com)

Feature request

Select the type of feature you are requesting:

  • Cog
  • Command
  • API functionality

Description of the changes

This issue will be used for the tracking of the PRs I create for adding RPC methods to Red. Note that I have only just started this, I am only making this for core developers to keep track of my changes. Each PR I make will be at first drafts, and then once they are finished, I will mark it as ready for review.

Notes:

Downloader:

I will be waiting on creating RPC methods for Downloader to see the outcome of #2571.

Audio:

I need to sit down with audio and examine the code, but functions such as setting the jar to be internal or external, should be made, however I will discuss with Aikaterna beforehand.

Cleanup:

This cog probably won't receive any RPC handlers, as it deals with messages in channels, and seems out of scope with RPC.

Mod/Move to Core:

I have a little trouble thinking about incorporating banning, kicking and other administrative actions into RPC, as they seem to be things that should be done in Discord.

Checklist:

  • Admin
    • Announce
      • Begin announcement
      • Ignore announcements
      • Set channel for announcements
    • Serverlock
    • Role commands
  • Alias
    • Global Aliases
      • Make global aliases
      • Delete global aliases
      • List global aliases
    • Guild-specific aliases
  • Audio (TBD, look at Notes section)
  • Bank
    • Toggle global bank
    • Change bank name
    • Change bank credits' name
  • Cleanup (TBD, look at Notes section)
  • Custom Commands
    • Create custom command
    • Edit custom command
    • Delete custom command
    • List custom commands
  • Downloader (TBD, look at Notes section)
  • Bank
    • Bank reset
    • Economy settings
      • Set minimum slot machine bid
      • Set maximum slot machine bid
      • Set cooldown for slot machine
      • Set cooldown for payday
      • Set amount for payday
      • Set amount earned based on roles for payday
      • Set initial balance for new bank accounts
  • Filter
    • Autoban
    • Add filtered words to channel/guild
    • Remove filtered words from channel/guild
    • Toggle name/nickname filtering
  • Image
    • Set imgur credentials
  • Mod/Move To Core
    • Ignore a channel/guild
    • Unignore a channel/guild
  • Mod
    • Disable/enable role hierarchy
    • Ban mention spam
    • Delete repeated messages
    • Delete delay
    • Reinvite unbanned users
  • Modlog
    • Set a certain channel to be the modlog
    • Change settings for cases
    • Reset modlog cases for a guild
    • Set a reason for a case
  • Permissions
    • Add/remove global rules
    • Add/remove guild rules
    • Set/clear default global rules
    • Set/clear default guild rules
  • Reports
    • Set channel for reports
    • Enable/disable reports for a guild
  • Streams
    • Manage channels + adding alerts for channels, and other settings
    • API key settings
  • Trivia
    • Max score needed to win
    • Time limit
    • Stop after
    • Allow/disallow lists to override settings
    • Whether bot gets points
    • Whether or not the answer gets revealed
    • Payout multiplier
  • Warnings
    • Allow/disallow custom reasons
    • Create/delete reasons
    • Get all registered reasons

This is only a rough outline of what I plan to create with RPC, but obviously this will take a very long time, judged by the length of the list. I'm interested to here what you guys think about this, and which ones to actually create and which ones not too.

# Feature request <!-- This template is for feature requests. Please fill out the following: --> #### Select the type of feature you are requesting: <!-- To check a box, replace the space between the [] with a x --> - [ ] Cog - [ ] Command - [X] API functionality ### Description of the changes This issue will be used for the tracking of the PRs I create for adding RPC methods to Red. Note that I have only just started this, I am only making this for core developers to keep track of my changes. Each PR I make will be at first drafts, and then once they are finished, I will mark it as ready for review. ### Notes: #### Downloader: I will be waiting on creating RPC methods for Downloader to see the outcome of #2571. #### Audio: I need to sit down with audio and examine the code, but functions such as setting the jar to be internal or external, should be made, however I will discuss with Aikaterna beforehand. #### Cleanup: This cog probably won't receive any RPC handlers, as it deals with messages in channels, and seems out of scope with RPC. #### Mod/Move to Core: I have a little trouble thinking about incorporating banning, kicking and other administrative actions into RPC, as they seem to be things that should be done *in Discord*. ### Checklist: - [ ] Admin - [x] Announce - [X] Begin announcement - [x] Ignore announcements - [x] Set channel for announcements - [X] Serverlock - [x] Role commands - [ ] Alias - [x] Global Aliases - [x] Make global aliases - [x] Delete global aliases - [x] List global aliases - [x] Guild-specific aliases - [ ] Audio (TBD, look at Notes section) - [ ] Bank - [ ] Toggle global bank - [ ] Change bank name - [ ] Change bank credits' name - [ ] Cleanup (TBD, look at Notes section) - [ ] Custom Commands - [ ] Create custom command - [ ] Edit custom command - [ ] Delete custom command - [ ] List custom commands - [ ] Downloader (TBD, look at Notes section) - [ ] Bank - [ ] Bank reset - [ ] Economy settings - [ ] Set minimum slot machine bid - [ ] Set maximum slot machine bid - [ ] Set cooldown for slot machine - [ ] Set cooldown for payday - [ ] Set amount for payday - [ ] Set amount earned based on roles for payday - [ ] Set initial balance for new bank accounts - [ ] Filter - [ ] Autoban - [ ] Add filtered words to channel/guild - [ ] Remove filtered words from channel/guild - [ ] Toggle name/nickname filtering - [ ] Image - [ ] Set imgur credentials - [ ] Mod/Move To Core - [ ] Ignore a channel/guild - [ ] Unignore a channel/guild - [ ] Mod - [ ] Disable/enable role hierarchy - [ ] Ban mention spam - [ ] Delete repeated messages - [ ] Delete delay - [ ] Reinvite unbanned users - [ ] Modlog - [ ] Set a certain channel to be the modlog - [ ] Change settings for cases - [ ] Reset modlog cases for a guild - [ ] Set a reason for a case - [ ] Permissions - [ ] Add/remove global rules - [ ] Add/remove guild rules - [ ] Set/clear default global rules - [ ] Set/clear default guild rules - [ ] Reports - [ ] Set channel for reports - [ ] Enable/disable reports for a guild - [ ] Streams - [ ] Manage channels + adding alerts for channels, and other settings - [ ] API key settings - [ ] Trivia - [ ] Max score needed to win - [ ] Time limit - [ ] Stop after - [ ] Allow/disallow lists to override settings - [ ] Whether bot gets points - [ ] Whether or not the answer gets revealed - [ ] Payout multiplier - [ ] Warnings - [ ] Allow/disallow custom reasons - [ ] Create/delete reasons - [ ] Get all registered reasons This is only a rough outline of what I *plan* to create with RPC, but obviously this will take a very long time, judged by the length of the list. I'm interested to here what you guys think about this, and which ones to actually create and which ones not too.
yamikaitou commented 2019-04-29 20:44:23 +02:00 (Migrated from github.com)

Curious if it would be possible to maybe add a way to change the IP and Port that RPC binds to? I would love to be able to bind it to my DO Private IP so I can talk to it from my other DO hosts.

Curious if it would be possible to maybe add a way to change the IP and Port that RPC binds to? I would love to be able to bind it to my DO Private IP so I can talk to it from my other DO hosts.
NeuroAssassin commented 2020-07-15 14:14:44 +02:00 (Migrated from github.com)

Closing for the time being due to #3862

Closing for the time being due to #3862
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
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
Mrcoolgamer11/Red-DiscordBot#2630
No description provided.