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

Bridge Command Arg #2393

Open
3 tasks done
Lumabots opened this issue Mar 15, 2024 · 1 comment
Open
3 tasks done

Bridge Command Arg #2393

Lumabots opened this issue Mar 15, 2024 · 1 comment
Labels
unconfirmed bug A bug report that needs triaging

Comments

@Lumabots
Copy link

Summary

Arg Bridge command doesnt work

Reproduction Steps

Use a bridge command and add some value required in a list
Capture_decran_2024-03-15_a_09 20 53

Minimal Reproducible Code

@bot.bridge_command()
@discord.option("value", choices=[1, 2, 3])
async def choose(ctx: bridge.BridgeContext, value: int):
    await ctx.respond(f"You chose: {value}!")

Expected Results

it supposed to run the command

Actual Results

Error bad arguments

Intents

all

System Information

pycord 2.5

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

link of the code https://github.com/Pycord-Development/pycord/blob/master/examples/bridge_commands.py

@Lumabots Lumabots added the unconfirmed bug A bug report that needs triaging label Mar 15, 2024
@Blue-Robin-Taken
Copy link
Contributor

Could this be a problem with types?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unconfirmed bug A bug report that needs triaging
Projects
None yet
Development

No branches or pull requests

2 participants