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

🚧Command Framework #3

Open
11 of 13 tasks
sizumita opened this issue May 15, 2022 · 1 comment
Open
11 of 13 tasks

🚧Command Framework #3

sizumita opened this issue May 15, 2022 · 1 comment
Labels
edgecord edgecord issues ✨feature Feature request

Comments

@sizumita
Copy link
Owner

sizumita commented May 15, 2022

Structure

fn descriptions() -> HashMap<&'static str, String> {
    HashMap::from([
        ("ja", "ヘルプコマンド".to_string())
    ])
}

#[command(name = "help")]
#[command(description = "help command")]
#[command(i18n_descriptions = descriptions)]
async fn help_command(ctx: &Context) -> Result<Response> {
    ctx.send_message("This is help message.")
}

Tasks

  • macros
    • name
    • description
    • i18n
    • guild_id
    • permission
    • option type converter
    • option choices
    • option parameters
    • subcommand
  • interaction handler
  • command validator
  • document
@sizumita sizumita added edgecord edgecord issues ✨feature Feature request labels May 15, 2022
@sizumita
Copy link
Owner Author

I will improve http endpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
edgecord edgecord issues ✨feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant