formatting fixes

This commit is contained in:
Master Kwoth 2016-02-14 03:18:38 +01:00
parent 6fb9b37217
commit 0afb3cc4eb
3 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@ namespace NadekoBot
{
public class NadekoStats
{
public string BotVersion = "0.8-beta10";
public string BotVersion = "0.8-beta11";
private static readonly NadekoStats _instance = new NadekoStats();
public static NadekoStats Instance => _instance;

View File

@ -436,6 +436,7 @@ namespace NadekoBot.Modules {
await m.Delete();
});
});
cgb.CreateCommand(".newname")
.Alias(".setname")
.Description("Give the bot a new name.")
@ -445,6 +446,7 @@ namespace NadekoBot.Modules {
await client.CurrentUser.Edit(NadekoBot.password, e.GetArg("new_name"));
});
cgb.CreateCommand(".newavatar")
.Alias(".setavatar")
.Description("Sets a new avatar image for the NadekoBot.")
@ -468,6 +470,7 @@ namespace NadekoBot.Modules {
// Send confirm.
await e.Send("New avatar set.");
});
cgb.CreateCommand(".setgame")
.Description("Sets the bots game.")
.Parameter("set_game", ParameterType.Unparsed)

View File

@ -51,7 +51,7 @@ namespace NadekoBot.Modules
if (string.IsNullOrWhiteSpace(question))
return;
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(">")