11 lines
311 B
JavaScript
11 lines
311 B
JavaScript
|
const threadUtils = require("../threadUtils");
|
||
|
|
||
|
module.exports = bot => {
|
||
|
const addInboxServerCommand = (...args) => threadUtils.addInboxServerCommand(bot, ...args);
|
||
|
|
||
|
addInboxServerCommand('id', async (msg, args, thread) => {
|
||
|
if (! thread) return;
|
||
|
thread.postSystemMessage(thread.user_id);
|
||
|
});
|
||
|
};
|