diff options
Diffstat (limited to 'src/cache')
| -rw-r--r-- | src/cache/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache/mod.rs b/src/cache/mod.rs index 8ce3d34..22be025 100644 --- a/src/cache/mod.rs +++ b/src/cache/mod.rs @@ -718,7 +718,7 @@ impl Cache { // We ignore these two due to the fact that the delete event for dms/groups will _not_ fire anymore. let channel = match event.channel { Channel::Guild(ref channel) => channel, - Channel::Private(_) | Channel::Group(_) => panic!("Unexpected group/dm channel in the delete event!"), + Channel::Private(_) | Channel::Group(_) => unreachable!(), }; let (channel_id, guild_id) = { |