removed some trash
This commit is contained in:
parent
6ab37df781
commit
3c74d1915e
@ -68,24 +68,6 @@ namespace NadekoBot.Modules.Trello
|
||||
|
||||
cgb.AddCheck(PermissionChecker.Instance);
|
||||
|
||||
cgb.CreateCommand(Prefix + "join")
|
||||
.Alias(Prefix + "j")
|
||||
.Description("Joins a server")
|
||||
.Parameter("code", Discord.Commands.ParameterType.Required)
|
||||
.Do(async e =>
|
||||
{
|
||||
if (!NadekoBot.IsOwner(e.User.Id) || NadekoBot.IsBot) return;
|
||||
try
|
||||
{
|
||||
await (await client.GetInvite(e.GetArg("code")).ConfigureAwait(false)).Accept()
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex.ToString());
|
||||
}
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "bind")
|
||||
.Description("Bind a trello bot to a single channel. " +
|
||||
"You will receive notifications from your board when something is added or edited." +
|
||||
|
@ -48,21 +48,6 @@ namespace NadekoBot
|
||||
{
|
||||
Console.OutputEncoding = Encoding.Unicode;
|
||||
|
||||
//var lines = File.ReadAllLines("data/input.txt");
|
||||
//HashSet<dynamic> list = new HashSet<dynamic>();
|
||||
//for (int i = 0; i < lines.Length; i += 3) {
|
||||
// dynamic obj = new JArray();
|
||||
// obj.Text = lines[i];
|
||||
// obj.Author = lines[i + 1];
|
||||
// if (obj.Author.StartsWith("-"))
|
||||
// obj.Author = obj.Author.Substring(1, obj.Author.Length - 1).Trim();
|
||||
// list.Add(obj);
|
||||
//}
|
||||
|
||||
//File.WriteAllText("data/quotes.json", Newtonsoft.Json.JsonConvert.SerializeObject(list, Formatting.Indented));
|
||||
|
||||
//Console.ReadKey();
|
||||
// generate credentials example so people can know about the changes i make
|
||||
try
|
||||
{
|
||||
File.WriteAllText("data/config_example.json", JsonConvert.SerializeObject(new Configuration(), Formatting.Indented));
|
||||
|
Loading…
Reference in New Issue
Block a user