diff options
| author | Austin Hellyer <[email protected]> | 2016-11-09 20:03:51 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-09 20:03:51 -0800 |
| commit | 96574bfd96a19254831f242620f9cdeca02a36eb (patch) | |
| tree | 222148f1fc1f38d8bfe71b504d41a1a2f80c79fa /src/client | |
| parent | Fix message decoding with reactions (diff) | |
| download | serenity-96574bfd96a19254831f242620f9cdeca02a36eb.tar.xz serenity-96574bfd96a19254831f242620f9cdeca02a36eb.zip | |
Map op codes via a macro
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index e010ebf..77ec3e1 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -144,6 +144,7 @@ pub enum ClientError { /// [`LiveGuild`]: ../model/struct.LiveGuild.html /// [`State`]: ../ext/state/struct.State.html GuildNotFound, + InvalidOpCode, /// When attempting to perform an action which is only available to user /// accounts. InvalidOperationAsBot, |