commit
4dc2a76704
10
README.md
10
README.md
@ -2,9 +2,11 @@
|
|||||||
[![Discord](https://discordapp.com/api/guilds/117523346618318850/widget.png)](https://discord.gg/0ehQwTK2RBjAxzEY)
|
[![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)
|
[![Documentation Status](https://readthedocs.org/projects/nadekobot/badge/?version=latest)](http://nadekobot.readthedocs.io/en/1.0/?badge=latest)
|
||||||
# NadekoBot
|
# 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)
|
##For Update, Help and Guidlines
|
||||||
## [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/)
|
|
||||||
|
|
||||||
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.`
|
||||||
|
@ -48,7 +48,7 @@ namespace NadekoBot.Modules.Games
|
|||||||
if (string.IsNullOrWhiteSpace(question))
|
if (string.IsNullOrWhiteSpace(question))
|
||||||
return;
|
return;
|
||||||
var rng = new NadekoRandom();
|
var rng = new NadekoRandom();
|
||||||
await channel.SendMessageAsync($@":question: `Question` __**{question}**__
|
await channel.SendMessageAsync($@"❓ `Question` __**{question}**__
|
||||||
🎱 `8Ball Answers` __**{_8BallResponses.Shuffle().FirstOrDefault()}**__").ConfigureAwait(false);
|
🎱 `8Ball Answers` __**{_8BallResponses.Shuffle().FirstOrDefault()}**__").ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -61,11 +61,11 @@ namespace NadekoBot.Modules.Games
|
|||||||
Func<int,string> GetRPSPick = (p) =>
|
Func<int,string> GetRPSPick = (p) =>
|
||||||
{
|
{
|
||||||
if (p == 0)
|
if (p == 0)
|
||||||
return "rocket";
|
return "🚀";
|
||||||
else if (p == 1)
|
else if (p == 1)
|
||||||
return "paperclip";
|
return "📎";
|
||||||
else
|
else
|
||||||
return "scissors";
|
return "✂️";
|
||||||
};
|
};
|
||||||
|
|
||||||
int pick;
|
int pick;
|
||||||
@ -91,13 +91,13 @@ namespace NadekoBot.Modules.Games
|
|||||||
var nadekoPick = new NadekoRandom().Next(0, 3);
|
var nadekoPick = new NadekoRandom().Next(0, 3);
|
||||||
var msg = "";
|
var msg = "";
|
||||||
if (pick == nadekoPick)
|
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) ||
|
else if ((pick == 0 && nadekoPick == 1) ||
|
||||||
(pick == 1 && nadekoPick == 2) ||
|
(pick == 1 && nadekoPick == 2) ||
|
||||||
(pick == 2 && nadekoPick == 0))
|
(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
|
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);
|
await channel.SendMessageAsync(msg).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user