Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a rename command #6

Closed
Danktuary opened this issue Mar 12, 2018 · 3 comments
Closed

Add a rename command #6

Danktuary opened this issue Mar 12, 2018 · 3 comments

Comments

@Danktuary
Copy link
Owner

Once the DB rewrite gets pushed, add a command that allows users to rename their currently pending requests, because of typos and casing and whatnot.

@Danktuary
Copy link
Owner Author

Suspending this for the time being because when editing the current poll embed, the preview emoji breaks because it no longer exists. When a global "CDN"-like server gets created to store these temporary emojis, create one there and do basically the same thing as PollController.approve().

@Danktuary
Copy link
Owner Author

Fun idea: create two separate commands (one that let's poll creators rename their currently pending polls, and another that let's all users make rename requests) and then a main rename command.

The main command would prompt the user, asking if they're trying to rename a pending poll or an emoji. However, it should automatically detect this is, for example, a user does >rename :emoji: newEmojiName, as opposed to >rename emoji newEmojiName.
First, it will prompt them about that. After that gets determined, it should make a client.commands.get().execute() call to the correct command. Of course, it Shou transform the output if necessary, similar to the >request command.

The DB may need to be restructured, though. Or maybe a polymorphic table would work. I dunno.

@Danktuary
Copy link
Owner Author

Resolved in Rinon v2! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant