diff --git a/src/modules/newthread.js b/src/modules/newthread.js index 79f5e97..3b094f1 100644 --- a/src/modules/newthread.js +++ b/src/modules/newthread.js @@ -3,7 +3,7 @@ const threads = require("../data/threads"); module.exports = ({ bot, knex, config, commands }) => { commands.addInboxServerCommand("newthread", "", async (msg, args, thread) => { - const user = bot.users.get(args.userId); + const user = bot.users.get(args.userId) || await bot.getRESTUser(args.userId).catch(() => null); if (! user) { utils.postSystemMessageWithFallback(msg.channel, thread, "User not found!"); return;