Giphy Command

This commit is contained in:
Daniel Odendahl Jr
2017-05-25 22:24:35 +00:00
parent 56618b15e9
commit c030ad7b0d
8 changed files with 54 additions and 7 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ module.exports = class BanCommand extends Command {
**Action:** Ban
**Reason:** ${reason}
`);
return modlogs.send({ embed });
await modlogs.send({ embed });
return null;
} catch (err) {
return msg.say(`${err.name}: ${err.message}`);
}
+2 -1
View File
@@ -64,7 +64,8 @@ module.exports = class KickCommand extends Command {
**Action:** Kick
**Reason:** ${reason}
`);
return modlogs.send({ embed });
await modlogs.send({ embed });
return null;
} catch (err) {
return msg.say(`${err.name}: ${err.message}`);
}
+2 -1
View File
@@ -68,7 +68,8 @@ module.exports = class SoftbanCommand extends Command {
**Action:** Softban
**Reason:** ${reason}
`);
return modlogs.send({ embed });
await modlogs.send({ embed });
return null;
} catch (err) {
return msg.say(`${err.name}: ${err.message}`);
}
+2 -1
View File
@@ -59,7 +59,8 @@ module.exports = class UnbanCommand extends Command {
**Action:** Unban
**Reason:** ${reason}
`);
return modlogs.send({ embed });
await modlogs.send({ embed });
return null;
} catch (err) {
return msg.say(`${err.name}: ${err.message}`);
}
+2 -1
View File
@@ -60,6 +60,7 @@ module.exports = class WarnCommand extends Command {
**Action:** Warn
**Reason:** ${reason}
`);
return modlogs.send({ embed });
await modlogs.send({ embed });
return null;
}
};