mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
Added search for .stock, it now supports company name search
This commit is contained in:
@@ -4,6 +4,8 @@ using System.Globalization;
|
||||
|
||||
namespace NadekoBot.Modules.Searches;
|
||||
|
||||
// todo weighted warnings fix
|
||||
// todo autoplay/fairplay
|
||||
public partial class Searches
|
||||
{
|
||||
public partial class CryptoCommands : NadekoSubmodule<CryptoService>
|
||||
@@ -18,9 +20,6 @@ public partial class Searches
|
||||
[Cmd]
|
||||
public async partial Task Stock([Leftover]string query)
|
||||
{
|
||||
if (!query.IsAlphaNumeric())
|
||||
return;
|
||||
|
||||
using var typing = ctx.Channel.EnterTypingState();
|
||||
|
||||
var stocks = await _stocksService.GetStockDataAsync(query);
|
||||
|
Reference in New Issue
Block a user