Code Cleanup, thanks resharper
This commit is contained in:
parent
00035ac4b1
commit
813698394a
34 changed files with 298 additions and 325 deletions
|
@ -1,19 +0,0 @@
|
|||
using System.Threading.Tasks;
|
||||
using Discord.Commands;
|
||||
using Geekbot.net.Lib;
|
||||
|
||||
namespace Geekbot.net.Commands
|
||||
{
|
||||
public class Google : ModuleBase
|
||||
{
|
||||
[Command("google", RunMode = RunMode.Async)]
|
||||
[Remarks(CommandCategories.Fun)]
|
||||
[Summary("Google Something.")]
|
||||
public async Task Eyes([Remainder, Summary("SearchText")] string searchText)
|
||||
{
|
||||
var url = $"http://lmgtfy.com/?q={searchText.Replace(' ', '+')}";
|
||||
|
||||
await ReplyAsync($"Please click here :unamused:\r\n{url}");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue