insignificant changes

This commit is contained in:
Master Kwoth 2016-03-12 18:55:28 +01:00
parent 8578f46ecf
commit 379f902230
2 changed files with 23 additions and 5 deletions

View File

@ -78,13 +78,13 @@ namespace NadekoBot.Commands {
UserPoints -= 3;
}
await e.Channel.SendMessage($"**ROUND {++round}**" +
await e.Channel.SendMessage($"**ROUND {++round}**\n" +
$"{response}\n" +
$"{nadekoResponse}\n" +
$"--------------------------------" +
$"--------------------------------\n" +
$"Nadeko has {NadekoPoints} points." +
$"You have {UserPoints} points." +
$"--------------------------------");
$"--------------------------------\n");
if (round < 10) return;
if (nadekoPoints == userPoints)
await e.Channel.SendMessage("Its a draw");
@ -92,6 +92,24 @@ namespace NadekoBot.Commands {
await e.Channel.SendMessage("Nadeko won.");
else
await e.Channel.SendMessage("You won.");
nadekoPoints = 0;
userPoints = 0;
round = 0;
}
}
public class BetraySetting {
private string Story = $"{0} have robbed a bank and got captured by a police." +
$"Investigators gave you a choice:\n" +
$"You can either >COOPERATE with your friends and " +
$"not tell them who's idea it was, OR you can >BETRAY your" +
$"friends. Depending on their answers your penalty will vary.";
public int DoubleCoop = 1;
public int DoubleBetray = -1;
public int BetrayCoop_Betrayer = 3;
public int BetrayCoop_Cooperater = -3;
public string GetStory(IEnumerable<string> names) => String.Format(Story, string.Join(", ", names));
}
}

View File

@ -83,9 +83,9 @@ namespace NadekoBot.Modules {
if (!MusicPlayers.TryGetValue(e.Server, out musicPlayer)) return;
musicPlayer.TogglePause();
if (musicPlayer.Paused)
await e.Channel.SendMessage("🎵`Music musicPlayer paused.`");
await e.Channel.SendMessage("🎵`Music Player paused.`");
else
await e.Channel.SendMessage("🎵`Music musicPlayer unpaused.`");
await e.Channel.SendMessage("🎵`Music Player unpaused.`");
});
cgb.CreateCommand("q")