DM IP, Shutdown funny texts

This commit is contained in:
Dragon Fire
2020-06-10 14:38:14 -04:00
parent 42455eef95
commit a2b73e576d
4 changed files with 19 additions and 3 deletions
+2 -1
View File
@@ -25,6 +25,7 @@ module.exports = class IpCommand extends Command {
const { body } = await request
.get('https://api.ipify.org/')
.query({ format: 'json' });
return msg.say(body.ip);
await msg.direct(body.ip);
return msg.say('📬 Sent the IP to your DMs!');
}
};