diff options
| author | Austin Hellyer <[email protected]> | 2017-01-08 08:45:17 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2017-01-08 08:45:17 -0800 |
| commit | a658105f7499efe994280906e85fd51c2b70c3a7 (patch) | |
| tree | 4c8af6a353b9fece3f5a9d9a9e7a90f25d53cc79 /src/constants.rs | |
| parent | Wait 5s between shard boots (diff) | |
| download | serenity-a658105f7499efe994280906e85fd51c2b70c3a7.tar.xz serenity-a658105f7499efe994280906e85fd51c2b70c3a7.zip | |
Code style cleanup
Diffstat (limited to 'src/constants.rs')
| -rw-r--r-- | src/constants.rs | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/constants.rs b/src/constants.rs index cf3cf0b..98c15eb 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -54,52 +54,6 @@ pub enum ErrorCode { UnknownUser, } -/* -map_nums! { ErrorCode; - BotsCannotUse 20001, - CannotSendEmptyMessage 50006, - CannotSendMessagesInVoice 50008, - CannotSendMessagesToUser 50007, - ChannelVerificationTooHigh 50009, - EditByOtherAuthor 50005, - EmbedDisabled 50004, - InvalidAccountType 50002, - InvalidAuthToken 50014, - InvalidBulkDeleteCount 50016, - InvalidDMChannelAction 50003, - InvalidOauthState 50012, - InvalidPinChannel 50019, - MaxFriendsReached 30002, - MaxGuildsReached 30001, - MaxPinsReached 30003, - MaxRolesReached 30005, - MissingAccess 50001, - MissingPermissions 500013, - NoteTooLong 50015, - Oauth2ApplicationLacksBot 50010, - Oauth2ApplicationLimitReached 50011, - OnlyBotsCanUse 20002, - ReactionBlocked 90001, - SearchIndexUnavailable 110000, - TooManyReactions 30010, - Unauthorized 40001, - UnknownAccount 10001, - UnknownApplication 10002, - UnknownChannel 10003, - UnknownEmoji 10014, - UnknownGuild 10004, - UnknownIntegration 10005, - UnknownInvite 10006, - UnknownMember 10007, - UnknownMessage 10008, - UnknownOverwrite 10009, - UnknownProvider 10010, - UnknownRole 10011, - UnknownToken 10012, - UnknownUser 10013, -} -*/ - #[derive(Clone, Copy, Debug, Eq, PartialEq)] pub enum OpCode { Event, |