unknown amount of arguments discord py

Solutions on MaxInterview for unknown amount of arguments discord py by the best coders in the world

showing results for - "unknown amount of arguments discord py"
Josefa
21 Jun 2016
1# Include a asterisk (*) before the variable name, eg:
2
3async def repeatback(context, *words):
4	# Function code
Sabrina
19 Oct 2017
1@client.command()
2async def hellothere(ctx, *, msg):
3    await ctx.send("General Kenobi")
4#to add an optional Argument simply add an =None (anything else alowed to) after msg
5#the * means that it gives you everthing after the command
6async def hellothere(ctx, *, msg=''):
queries leading to this page
optional arg discord pydiscordpy optional argumentsoptional arguments in discord pylock spacy role discord pypython discord optional syntaxoptional arguments discoard pyhow to add a optional parameter discord pydiscord bot multiple arguments discord pydiscord py optional argumentsdiscord py parametershow to make discord not accept argument s pythonpython discord command with multiple argumentspass a user as an command argument discord pydiscord py optional argumentoptional arguments discord pyadd multiple arguments to discord pymake argument optional python discord pyif no argument discord pyoptional commands discord pydiscord py clearwarns commandhow to make an argument optional in discord pydiscord py optional command parametersdiscord py optional argumentsdiscord py command mention argdiscord bot commandsunknown amount of arguments discord pyargument function discord pythonhow to make a command with an optional argument in discord pydiscordpy how to use multiple variableshow to print who sent the command in discord pytop command discord pyhow to pass an optional amount of arguments in discord pychannel create command discord pydiscord py argumentsdiscord commands botdiscord py argsdiscord py get invoking commanddiscord py how to make an argument not requiredhow to make an optional argument in discord pythondiscord py optional parametersdiscord python parseoptional arguments discord pydiscord python optional argumenthow to take optionalarguments in discord pydiscord py command with argumentscommands bot discord py classdiscord py cool fun commandsuse arguments in discord pydiscord py coptional command parametersdiscord py command arguments inthow to make a parameter optional in discord pydisord py bot run command from api call2 name for command discord pytake optional inputs discord pydiscord py multiple words argoptional argument discordpython bot discord variablediscord py play commanddiscordpy two optional argumentsoptional requirement discord pydiscord py bot command 28 29 optional argumentdiscord python make arguments optionalstar argument discord pydiscord py make a parameter optionaldiscord python add numberdiscord py commands optional argumenthow to put an optional value discord py commandpass role as arg discord pyhow to make optional arguments in discord pycommand 2 different type of arguments in one discord pyhow can i make a arg not requierd discord pyusually first parameter of a method is named 27self 27 discord pydiscord py get mention to parameteroptional argument command python discorddiscord py command function wrote on multiple lineshow do optional arguments work discord puhow to make optional parameter in discord pydiscord py bot mention 3d commandoptional argument for discord member pythondioscord py optional argumentpython discord ctx get arguments after commanddiscord py the command heloctx discord pydiscord py top coomandpass role as an arg discord pymake parameter optional discord pydiscord py keyword only argumenthow to make something a optional argument discord pyhow to pass a user as argument discord pydiscord py optional argumenthow to get the user that typed that commands name disocrd pydiscord py number argumentoptional discord pyoptional parameter after 2aargs discord pyoptional argument discord pydiscord python add number to stringdiscord py arguments with spacesdiscord py how to set memberunknown amount of arguments discord py