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.

Optional user arguments

See original GitHub issue

Description

Take optional user arguments for .8bitify (#247), .prideavatar (#209), .avatareasterify (#187) plus any other commands that I am missing, so that the avatars can be made of specific users rather than the message author

Since I created all 3 commands, I would like to work on this one too (since it shouldn’t take long)

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 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ChrisLoveringcommented, Aug 4, 2021

To expand on this for others: This was a moderation decision that is two-fold.

  1. We will no longer allow users to run commands on any other members, unless the other member has opted into it (see the valentines command)
  2. We no longer allow arbitrary user inputted images to be rendered and parroted by the bot
0reactions
Xithriuscommented, Aug 4, 2021

@janine9vn Thank you. I will proceed to throw this issue into the sun.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - How do I define a function with optional arguments?
Try calling it like: obj.some_function( '1', 2, '3', g="foo", h="bar" ) . After the required positional arguments, you can specify specific optional arguments...
Read more >
Named and Optional Arguments - C# Programming Guide
Named arguments enable you to specify an argument for a parameter by matching the argument with its name rather than with its position...
Read more >
Python Optional Arguments: A How-To Guide - Career Karma
Optional arguments are arguments that do not need a value. On Career Karma, learn how to accept optional arguments in a Python function....
Read more >
How to pass optional parameters to a function in Python?
In this way, the user can call the function by either passing those optional parameters or just passing the required parameters.
Read more >
How to pass optional parameters to a function ... - Tutorialspoint
A type of argument with a default value is a Python optional parameter. A function definition's assignment operator or the Python **kwargs ...
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