From c8dba35440d8f6e3a8ed54c8e3942df41b0fa2f6 Mon Sep 17 00:00:00 2001
From: Mega-Mewthree <Mega-Mewthree@users.noreply.github.com>
Date: Sun, 10 Mar 2019 23:42:44 -0700
Subject: [PATCH] Fix Issue #303

---
 client/src/builtin/EmoteModule.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/builtin/EmoteModule.js b/client/src/builtin/EmoteModule.js
index aa2f927d5..a5c1a5677 100644
--- a/client/src/builtin/EmoteModule.js
+++ b/client/src/builtin/EmoteModule.js
@@ -262,7 +262,7 @@ export default new class EmoteModule extends BuiltinModule {
         if (!content) return orig(...args);
 
         const emoteAsImage = Settings.getSetting('emotes', 'default', 'emoteasimage').value &&
-            (DiscordApi.currentChannel.type === 'DM' || DiscordApi.currentChannel.checkPermissions(DiscordApi.modules.DiscordPermissions.ATTACH_FILES));
+            (DiscordApi.currentChannel.type === 'DM' || DiscordApi.currentChannel.type === 'GROUP_DM' || DiscordApi.currentChannel.checkPermissions(DiscordApi.modules.DiscordPermissions.ATTACH_FILES));
 
         if (!emoteAsImage || content.split(' ').length > 1) {
             args[1].content = args[1].content.split(' ').map(word => {