Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Ability to open/close channels #30

Closed
JackDotJS opened this issue Aug 14, 2019 · 6 comments
Closed

Ability to open/close channels #30

JackDotJS opened this issue Aug 14, 2019 · 6 comments
Assignees
Labels
📁 category: new features suggestions and ideas for new things ⚙️ complexity: 3 uh oh ⚠ priority: 5 highest priority 🔁 status: complete this is essentially complete but is waiting to be pushed

Comments

@JackDotJS
Copy link
Owner

This is related to the !open and !close commands that currently do nothing right now.

OptiBot currently only has permissions to do this for the #feedback channel, but I believe this should be made to be expanded upon in the future. It could probably even be used to make a full-on lockdown feature.

For now though, I need to figure out how to make this work for just one channel. Sounds difficult enough. First problem is trying to save the existing permissions set up, and then replace them with our own when the channel is "closed"

@JackDotJS JackDotJS added 📁 category: new features suggestions and ideas for new things ⚠ priority: 1 lowest priority 🔁 status: to-do this will be added sooner or later labels Aug 14, 2019
@JackDotJS JackDotJS self-assigned this Aug 14, 2019
@JackDotJS
Copy link
Owner Author

Planning to add in beta 7.

@JackDotJS JackDotJS added ⚠ priority: 3 regular priority and removed ⚠ priority: 1 lowest priority labels Aug 21, 2019
@JackDotJS JackDotJS added ⚠ priority: 5 highest priority and removed ⚠ priority: 3 regular priority labels Aug 29, 2019
@JackDotJS
Copy link
Owner Author

I technically have this working, but it's really not a pretty solution.

I believe OptiBot also requires the "manage roles" permission to make this work as elegantly as possible.

@JackDotJS JackDotJS added 🔁 status: in-progress currently being worked on and removed 🔁 status: to-do this will be added sooner or later labels Sep 6, 2019
@JackDotJS
Copy link
Owner Author

While this is technically complete, I don't believe this will work all that well if used in other channels.

Not that it's an issue right now, but this will probably need to be reworked again if/when OptiBot gains the ability to use this in any channel.

@JackDotJS JackDotJS added 🔁 status: complete this is essentially complete but is waiting to be pushed and removed 🔁 status: in-progress currently being worked on labels Sep 12, 2019
JackDotJS pushed a commit that referenced this issue Sep 14, 2019
oh lord

- Added User Profiles, which will replace muted.db, vcape.db, mdl.db, and mdl_messages.db. (#12)
- Fixed directories being loaded from GitHub documentation.
- Added the ability to add custom links to the StopModReposts database. (#45)
- MOTD messages will now include the date of when the message was posted. (#50)
- Started work on OptiStats. (#5)
- Removed ASCII escape codes from final boot message.
- Fixed several event handlers to ignore DM channels.
- Added the emergency shutoff command !obs.
- Added !mojira command. (#44)
- Renamed !dl command to !download
- Redesigned !download embed to include all official download links
- Added !stats command. (#5)
- Added ability to open/close text channels (slightly wip) (#30)
- Fixed !rules and !rule commands not fetching the correct message ID.
- Added !cdb command to make my life easier (converts existing databases to new User Profiles format) (#12)
- Added !warn command. (#10)
- Added !bat command.
- Made some minor cosmetic adjustments for !status
- Fixed confirmation handler messages to be cosmetically consistent. (#51)
- Redesigned embed for !help when viewing commands.
- Improved definition of images for command metadata.
- Fixed embed icon referring to an invalid image in !dr.
- Updated description for !mute command.
- !docs now mentions the !docfile command in every embed.
- Added !log command. (#41)
- !docfile now supports line numbers once again. (line previews may be added later, not sure yet)
- Added !chkmute command. (mods-only for now.) (#24)
- Fixed case sensitivity in !faq (#42)
- Fixed long FAQ entries causing the bot to crash. (#49)
- Added !mcwiki command again. (#48)
- Added !split command. (VERY wip) (#47)
- Bot status will now use the command trigger set in the configuration file.
- Updated design of error messages.
- TOOLS.muteHandler() has been rewritten, again. Should be MUCH cleaner and stable now.
- All banned members should now be removed from the database automatically. (#27)
- Users that do not exist should now be correctly removed from the database. (#52)
- Removed unused properties from config.json
@JackDotJS
Copy link
Owner Author

Sorta added in d4e4d00. Looking to make much needed improvements later.

@JackDotJS JackDotJS added ⚠ priority: 3 regular priority 🔁 status: pending further review needs more opinions and feedback before work can begin 📁 category: enhancements improvements for existing features and removed ⚠ priority: 5 highest priority 🔁 status: complete this is essentially complete but is waiting to be pushed 📁 category: new features suggestions and ideas for new things labels Sep 14, 2019
@JackDotJS
Copy link
Owner Author

OptiBot now has channel management permissions for ALL channels. Next is to add this command again in the rewrite.

@JackDotJS JackDotJS modified the milestones: OptiBot 2.1, OptiBot 3.0 Jan 15, 2020
@JackDotJS JackDotJS removed the ⚠ priority: 3 regular priority label Jan 15, 2020
@JackDotJS JackDotJS added ⚠ priority: 5 highest priority 🔁 status: to-do this will be added sooner or later 📁 category: new features suggestions and ideas for new things and removed 🔁 status: pending further review needs more opinions and feedback before work can begin 📁 category: enhancements improvements for existing features labels Jan 15, 2020
@JackDotJS JackDotJS added 🔁 status: complete this is essentially complete but is waiting to be pushed and removed 🔁 status: to-do this will be added sooner or later labels Aug 18, 2020
@JackDotJS
Copy link
Owner Author

added back in 1fa69e1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📁 category: new features suggestions and ideas for new things ⚙️ complexity: 3 uh oh ⚠ priority: 5 highest priority 🔁 status: complete this is essentially complete but is waiting to be pushed
Projects
None yet
Development

No branches or pull requests

1 participant