diff options
Diffstat (limited to 'src/modules/id.js')
| -rw-r--r-- | src/modules/id.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/id.js b/src/modules/id.js new file mode 100644 index 0000000..e3cf2e2 --- /dev/null +++ b/src/modules/id.js @@ -0,0 +1,5 @@ +module.exports = ({ bot, knex, config, commands }) => { + commands.addInboxThreadCommand('id', [], async (msg, args, thread) => { + thread.postSystemMessage(thread.user_id); + }); +}; |