Browse Source

reset indexes for @ here mention

pull/1318/head
Chris Johnston 6 years ago
parent
commit
66acf903fc
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/Discord.Net.Rest/Entities/Messages/MessageHelper.cs

+ 2
- 0
src/Discord.Net.Rest/Entities/Messages/MessageHelper.cs View File

@@ -194,6 +194,8 @@ namespace Discord.Rest
}

index = 0;
codeBlockIndex = 0;
closeIndex = 0;
while (true)
{
index = text.IndexOf("@here", index);


Loading…
Cancel
Save