-
-
Notifications
You must be signed in to change notification settings - Fork 482
Open
Milestone
Description
Line: 860
pycord//discord/commands/core.py
Lines 857 to 867 in 6ab3292
return as_dict | |
async def _invoke(self, ctx: ApplicationContext) -> None: | |
# TODO: Parse the args better | |
kwargs = {} | |
for arg in ctx.interaction.data.get("options", []): | |
op = find(lambda x: x.name == arg["name"], self.options) | |
if op is None: | |
continue | |
arg = arg["value"] | |