formatting fixes
This commit is contained in:
parent
6fb9b37217
commit
0afb3cc4eb
@ -11,7 +11,7 @@ namespace NadekoBot
|
|||||||
{
|
{
|
||||||
public class NadekoStats
|
public class NadekoStats
|
||||||
{
|
{
|
||||||
public string BotVersion = "0.8-beta10";
|
public string BotVersion = "0.8-beta11";
|
||||||
|
|
||||||
private static readonly NadekoStats _instance = new NadekoStats();
|
private static readonly NadekoStats _instance = new NadekoStats();
|
||||||
public static NadekoStats Instance => _instance;
|
public static NadekoStats Instance => _instance;
|
||||||
|
@ -436,6 +436,7 @@ namespace NadekoBot.Modules {
|
|||||||
await m.Delete();
|
await m.Delete();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand(".newname")
|
cgb.CreateCommand(".newname")
|
||||||
.Alias(".setname")
|
.Alias(".setname")
|
||||||
.Description("Give the bot a new name.")
|
.Description("Give the bot a new name.")
|
||||||
@ -445,6 +446,7 @@ namespace NadekoBot.Modules {
|
|||||||
|
|
||||||
await client.CurrentUser.Edit(NadekoBot.password, e.GetArg("new_name"));
|
await client.CurrentUser.Edit(NadekoBot.password, e.GetArg("new_name"));
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand(".newavatar")
|
cgb.CreateCommand(".newavatar")
|
||||||
.Alias(".setavatar")
|
.Alias(".setavatar")
|
||||||
.Description("Sets a new avatar image for the NadekoBot.")
|
.Description("Sets a new avatar image for the NadekoBot.")
|
||||||
@ -468,6 +470,7 @@ namespace NadekoBot.Modules {
|
|||||||
// Send confirm.
|
// Send confirm.
|
||||||
await e.Send("New avatar set.");
|
await e.Send("New avatar set.");
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand(".setgame")
|
cgb.CreateCommand(".setgame")
|
||||||
.Description("Sets the bots game.")
|
.Description("Sets the bots game.")
|
||||||
.Parameter("set_game", ParameterType.Unparsed)
|
.Parameter("set_game", ParameterType.Unparsed)
|
||||||
|
@ -51,7 +51,7 @@ namespace NadekoBot.Modules
|
|||||||
if (string.IsNullOrWhiteSpace(question))
|
if (string.IsNullOrWhiteSpace(question))
|
||||||
return;
|
return;
|
||||||
await e.Channel.SendMessage(
|
await e.Channel.SendMessage(
|
||||||
$":question: **Question:{question}**\n:crystal_ball: **8Ball Answers:**{_8BallAnswers[_r.Next(0, _8BallAnswers.Length)]}");
|
$":question: **Question**: `{question}` \n:crystal_ball: **8Ball Answers**: `{_8BallAnswers[_r.Next(0, _8BallAnswers.Length)]}`");
|
||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand(">")
|
cgb.CreateCommand(">")
|
||||||
|
Loading…
Reference in New Issue
Block a user