commit
4dc2a76704
10
README.md
10
README.md
@ -2,9 +2,11 @@
|
||||
[](https://discord.gg/0ehQwTK2RBjAxzEY)
|
||||
[](http://nadekobot.readthedocs.io/en/1.0/?badge=latest)
|
||||
# NadekoBot
|
||||
[](https://discordapp.com/oauth2/authorize?client_id=170254782546575360&scope=bot&permissions=66186303)
|
||||
[](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
|
||||
[](https://twitter.com/TheNadekoBot) [](https://discord.gg/0ehQwTK2RBjAxzEY) [](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.`
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user