Browse Source

Changed commands to use RawText instead of Text

tags/docs-0.9
RogueException 9 years ago
parent
commit
2e6f65b776
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Commands/CommandService.cs

+ 1
- 1
src/Discord.Net.Commands/CommandService.cs View File

@@ -71,7 +71,7 @@ namespace Discord.Commands
if (_allCommands.Count == 0) return;
if (e.Message.IsAuthor) return;

string msg = e.Message.Text;
string msg = e.Message.RawText;
if (msg.Length == 0) return;

//Check for command char if one is provided


Loading…
Cancel
Save