mirror of
https://github.com/Syping/dtranslatebot.git
synced 2026-04-01 13:20:40 +02:00
slashcommands: improve my command descriptions
This commit is contained in:
parent
3f84c5ffd6
commit
24a6bdb0e2
1 changed files with 2 additions and 2 deletions
|
|
@ -491,9 +491,9 @@ void slashcommands::register_commands(dpp::cluster *bot, bot::settings::settings
|
||||||
command_list.add_option(languages_list_subcommand);
|
command_list.add_option(languages_list_subcommand);
|
||||||
commands.push_back(command_list);
|
commands.push_back(command_list);
|
||||||
|
|
||||||
dpp::slashcommand command_my("my", "Personal options", bot->me.id);
|
dpp::slashcommand command_my("my", "Personal settings", bot->me.id);
|
||||||
command_my.set_dm_permission(true);
|
command_my.set_dm_permission(true);
|
||||||
dpp::command_option language_subcommand(dpp::co_sub_command, "language", "Set target language");
|
dpp::command_option language_subcommand(dpp::co_sub_command, "language", "Set personal target language");
|
||||||
language_subcommand.add_option(target_option);
|
language_subcommand.add_option(target_option);
|
||||||
command_my.add_option(language_subcommand);
|
command_my.add_option(language_subcommand);
|
||||||
commands.push_back(command_my);
|
commands.push_back(command_my);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue