Merge pull request #802 from samdivaio/dev

Update emojis
This commit is contained in:
Master Kwoth 2016-11-26 17:41:02 +01:00 committed by GitHub
commit 4dc2a76704
2 changed files with 13 additions and 11 deletions

View File

@ -2,9 +2,11 @@
[![Discord](https://discordapp.com/api/guilds/117523346618318850/widget.png)](https://discord.gg/0ehQwTK2RBjAxzEY)
[![Documentation Status](https://readthedocs.org/projects/nadekobot/badge/?version=latest)](http://nadekobot.readthedocs.io/en/1.0/?badge=latest)
# NadekoBot
[![nadeko1](https://cdn.discordapp.com/attachments/155726317222887425/252095170676391936/A1.jpg)](https://discordapp.com/oauth2/authorize?client_id=170254782546575360&scope=bot&permissions=66186303)
[![nadeko2](https://cdn.discordapp.com/attachments/155726317222887425/252095207514832896/A2.jpg)](http://nadekobot.readthedocs.io/en/1.0/Commands%20List/)
## [Click here to invite Nadeko to your Discord server](https://discordapp.com/oauth2/authorize?client_id=170254782546575360&scope=bot&permissions=66186303)
## [Click here for a list of commands](http://nadekobot.readthedocs.io/en/1.0/Commands%20List/)
## INSTRUCTIONS, FAQ ---> [Wiki](http://nadekobot.readthedocs.io/en/1.0/)
##For Update, Help and Guidlines
You might want to join my discord server where i can provide help etc. https://discord.gg/0ehQwTK2RBjAxzEY
[![twitter](https://cdn.discordapp.com/attachments/155726317222887425/252107808953073664/Twitter_Logo_Blue.png)](https://twitter.com/TheNadekoBot) [![discord](https://cdn.discordapp.com/attachments/155726317222887425/252105570532720640/Discord-Logo-Color.png)](https://discord.gg/0ehQwTK2RBjAxzEY) [![Wiki](https://cdn.discordapp.com/attachments/155726317222887425/252098644390445057/read_the_docs.png)](http://nadekobot.readthedocs.io/en/1.0/)
`Follow me on twitter for updates. | Join my Discord server if you need any help. | Read the Docs for hosting guides.`

View File

@ -48,7 +48,7 @@ namespace NadekoBot.Modules.Games
if (string.IsNullOrWhiteSpace(question))
return;
var rng = new NadekoRandom();
await channel.SendMessageAsync($@":question: `Question` __**{question}**__
await channel.SendMessageAsync($@" `Question` __**{question}**__
🎱 `8Ball Answers` __**{_8BallResponses.Shuffle().FirstOrDefault()}**__").ConfigureAwait(false);
}
@ -61,11 +61,11 @@ namespace NadekoBot.Modules.Games
Func<int,string> GetRPSPick = (p) =>
{
if (p == 0)
return "rocket";
return "🚀";
else if (p == 1)
return "paperclip";
return "📎";
else
return "scissors";
return "✂️";
};
int pick;
@ -91,13 +91,13 @@ namespace NadekoBot.Modules.Games
var nadekoPick = new NadekoRandom().Next(0, 3);
var msg = "";
if (pick == nadekoPick)
msg = $"It's a draw! Both picked :{GetRPSPick(pick)}:";
msg = $"It's a draw! Both picked {GetRPSPick(pick)}";
else if ((pick == 0 && nadekoPick == 1) ||
(pick == 1 && nadekoPick == 2) ||
(pick == 2 && nadekoPick == 0))
msg = $"{NadekoBot.Client.GetCurrentUser().Mention} won! :{GetRPSPick(nadekoPick)}: beats :{GetRPSPick(pick)}:";
msg = $"{NadekoBot.Client.GetCurrentUser().Mention} won! {GetRPSPick(nadekoPick)} beats {GetRPSPick(pick)}";
else
msg = $"{umsg.Author.Mention} won! :{GetRPSPick(pick)}: beats :{GetRPSPick(nadekoPick)}:";
msg = $"{umsg.Author.Mention} won! {GetRPSPick(pick)} beats {GetRPSPick(nadekoPick)}";
await channel.SendMessageAsync(msg).ConfigureAwait(false);
}