question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use replied message as argument to `.randomcase` when text isn't provided.

See original GitHub issue

Description

Allow .randomcase to work on replied messages whenever no text argument is provided.

Reasoning

Pretty self-explanatory; means you can just reply to a message instead of having to manually copy-paste the content as the command argument.

Proposed Implementation

A simple if statement checking whether a text argument was provided, and if not whether a message was replied to.

Would you like to implement this yourself?

  • I’d like to implement this feature myself
  • Anyone can implement this feature

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ChrisLoveringcommented, Jul 12, 2022

Yea, we should replace existing implementations of this.

maybe TextOrReplyCleaned, to indicate we run clean_content over it too, but that sounds good.

0reactions
TizzySauruscommented, Oct 23, 2022

Managed to get it done in my spare time this morning – #1129.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing inline Reply option for texts - Apple Community
In a group text, when I press on a specific message, the new inline Reply option is not available (only Copy and More)....
Read more >
Converting random letters within a string to Upper/Lower Case
Here is what I have so for, it prints out the original string and not the converted one. commands.CreateCommand("spongememe").Parameter("message ...
Read more >
How Your Texts Can Be Used As Evidence Against You In Court
Many people assume text messages are private, but that's not always the case. Here's what to know about how texting can be used...
Read more >
Replies not showing in Outlook from certain emailers, only the
Scenario: Using Outlook 365 Desktop. I receive an email and reply to it. I receive a reply back but outlook only shows my...
Read more >
c# - Method to randomise a string's case
Here are my observations: string randomCase : I would suggest to start your method name with a verb and use CamelCase.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found