forked from adam/discord-bot-shtik
missed a debug statement
This commit is contained in:
parent
1a327acbd0
commit
4cf83afab8
@ -119,7 +119,6 @@ namespace silverworker_discord
|
|||||||
{
|
{
|
||||||
//any channel, from a user
|
//any channel, from a user
|
||||||
var wordLikes = message.Content.Split(' ', StringSplitOptions.TrimEntries);
|
var wordLikes = message.Content.Split(' ', StringSplitOptions.TrimEntries);
|
||||||
Console.WriteLine($"{wordLikes.Count()} word-like things");
|
|
||||||
var links = wordLikes?.Where(wl => Uri.IsWellFormedUriString(wl, UriKind.Absolute)).Select(wl => new Uri(wl));
|
var links = wordLikes?.Where(wl => Uri.IsWellFormedUriString(wl, UriKind.Absolute)).Select(wl => new Uri(wl));
|
||||||
if (links != null && links.Count() > 0)
|
if (links != null && links.Count() > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user