some normalization of commandname vs alias
This commit is contained in:
parent
46f0fcc156
commit
d3d1781584
@ -75,8 +75,8 @@ namespace NadekoBot.Modules.ClashOfClans
|
||||
//war with the index X started.
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "sw")
|
||||
.Alias(Prefix + "startwar")
|
||||
cgb.CreateCommand(Prefix + "startwar")
|
||||
.Alias(Prefix + "sw")
|
||||
.Description("Starts a war with a given number.")
|
||||
.Parameter("number", ParameterType.Required)
|
||||
.Do(async e =>
|
||||
@ -177,8 +177,8 @@ namespace NadekoBot.Modules.ClashOfClans
|
||||
}
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "cf")
|
||||
.Alias(Prefix + "claimfinish")
|
||||
cgb.CreateCommand(Prefix + "claimfinish")
|
||||
.Alias(Prefix + "cf")
|
||||
.Description($"Finish your claim if you destroyed a base. Optional second argument finishes for someone else.\n**Usage**: {Prefix}cf [war_number] [optional_other_name]")
|
||||
.Parameter("number", ParameterType.Required)
|
||||
.Parameter("other_name", ParameterType.Unparsed)
|
||||
|
@ -194,8 +194,8 @@ namespace NadekoBot.Modules.Pokemon
|
||||
await e.Channel.SendMessage(response).ConfigureAwait(false);
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "ml")
|
||||
.Alias("movelist")
|
||||
cgb.CreateCommand(Prefix + "movelist")
|
||||
.Alias(Prefix + "ml")
|
||||
.Description("Lists the moves you are able to use")
|
||||
.Do(async e =>
|
||||
{
|
||||
|
@ -393,8 +393,8 @@ $@"🌍 **Weather for** 【{obj["target"]}】
|
||||
await e.Channel.SendMessage("`" + JObject.Parse(response)["value"]["joke"].ToString() + "` 😆").ConfigureAwait(false);
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "mi")
|
||||
.Alias(Prefix + "magicitem")
|
||||
cgb.CreateCommand(Prefix + "magicitem")
|
||||
.Alias(Prefix + "mi")
|
||||
.Description("Shows a random magicitem from <https://1d4chan.org/wiki/List_of_/tg/%27s_magic_items>")
|
||||
.Do(async e =>
|
||||
{
|
||||
|
@ -12,8 +12,8 @@ namespace NadekoBot.Modules.Translator
|
||||
|
||||
internal override void Init(CommandGroupBuilder cgb)
|
||||
{
|
||||
cgb.CreateCommand(Module.Prefix + "trans")
|
||||
.Alias(Module.Prefix + "translate")
|
||||
cgb.CreateCommand(Module.Prefix + "translate")
|
||||
.Alias(Module.Prefix + "trans")
|
||||
.Description($"Translates from>to text. From the given language to the destiation language.\n**Usage**: {Module.Prefix}trans en>fr Hello")
|
||||
.Parameter("langs", ParameterType.Required)
|
||||
.Parameter("text", ParameterType.Unparsed)
|
||||
|
Loading…
Reference in New Issue
Block a user