commit 1bebf2f12c226f1271bc670adebd623672b1b3e3
parent 50307a31d1a212e118e08ad26a52c60a95d2f798
Author: Demonstrandum <moi@knutsen.co>
Date: Mon, 23 Mar 2020 01:41:00 +0000
Merge branch 'master' of github.com:Demonstrandum/Simp-O-Matic
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/commands/summon.ts b/lib/commands/summon.ts
@@ -10,5 +10,8 @@ export default (home_scope : HomeScope) => {
message.client.users.fetch(message.mentions.users.first().id)
.then(user => user.send(
`Psssst. Hey, come over to ${message.guild.name} :point_left:\n`
- + `(${message.member.user.tag} is trying to summon you).`));
+ + `(${message.member.user.tag} is trying to summon you).`))
+ .catch(err => {
+ message.channel.send(err)
+ });
};