trello fix?
This commit is contained in:
parent
221d5d9028
commit
46bfcb56b9
@ -63,13 +63,13 @@ namespace NadekoBot.Modules.Trello
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
manager.CreateCommands("trello ", cgb =>
|
manager.CreateCommands("", cgb =>
|
||||||
{
|
{
|
||||||
|
|
||||||
cgb.AddCheck(PermissionChecker.Instance);
|
cgb.AddCheck(PermissionChecker.Instance);
|
||||||
|
|
||||||
cgb.CreateCommand("join")
|
cgb.CreateCommand(Prefix + "join")
|
||||||
.Alias("j")
|
.Alias(Prefix + "j")
|
||||||
.Description("Joins a server")
|
.Description("Joins a server")
|
||||||
.Parameter("code", Discord.Commands.ParameterType.Required)
|
.Parameter("code", Discord.Commands.ParameterType.Required)
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
@ -86,7 +86,7 @@ namespace NadekoBot.Modules.Trello
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand("bind")
|
cgb.CreateCommand(Prefix + "bind")
|
||||||
.Description("Bind a trello bot to a single channel. " +
|
.Description("Bind a trello bot to a single channel. " +
|
||||||
"You will receive notifications from your board when something is added or edited." +
|
"You will receive notifications from your board when something is added or edited." +
|
||||||
"\n**Usage**: bind [board_id]")
|
"\n**Usage**: bind [board_id]")
|
||||||
@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Trello
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand("unbind")
|
cgb.CreateCommand(Prefix + "unbind")
|
||||||
.Description("Unbinds a bot from the channel and board.")
|
.Description("Unbinds a bot from the channel and board.")
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
{
|
{
|
||||||
@ -122,8 +122,8 @@ namespace NadekoBot.Modules.Trello
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand("lists")
|
cgb.CreateCommand(Prefix + "lists")
|
||||||
.Alias("list")
|
.Alias(Prefix + "list")
|
||||||
.Description("Lists all lists yo ;)")
|
.Description("Lists all lists yo ;)")
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
{
|
{
|
||||||
@ -133,7 +133,7 @@ namespace NadekoBot.Modules.Trello
|
|||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand("cards")
|
cgb.CreateCommand(Prefix + "cards")
|
||||||
.Description("Lists all cards from the supplied list. You can supply either a name or an index.")
|
.Description("Lists all cards from the supplied list. You can supply either a name or an index.")
|
||||||
.Parameter("list_name", Discord.Commands.ParameterType.Unparsed)
|
.Parameter("list_name", Discord.Commands.ParameterType.Unparsed)
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
|
@ -142,7 +142,7 @@ namespace NadekoBot.Classes.JSONModels
|
|||||||
public string ClashOfClans { get; set; } = ",";
|
public string ClashOfClans { get; set; } = ",";
|
||||||
public string Help { get; set; } = "-";
|
public string Help { get; set; } = "-";
|
||||||
public string Music { get; set; } = "!m";
|
public string Music { get; set; } = "!m";
|
||||||
public string Trello { get; set; } = "trello";
|
public string Trello { get; set; } = "trello ";
|
||||||
public string Games { get; set; } = ">";
|
public string Games { get; set; } = ">";
|
||||||
public string Gambling { get; set; } = "$";
|
public string Gambling { get; set; } = "$";
|
||||||
public string Permissions { get; set; } = ";";
|
public string Permissions { get; set; } = ";";
|
||||||
|
Loading…
Reference in New Issue
Block a user