2019-08-13 13:34:46 -04:00
|
|
|
module.exports = ({ bot, knex, config, commands }) => {
|
2019-06-16 15:27:30 -04:00
|
|
|
commands.addInboxThreadCommand('id', [], async (msg, args, thread) => {
|
2018-04-21 08:41:03 -04:00
|
|
|
thread.postSystemMessage(thread.user_id);
|
|
|
|
});
|
2020-05-24 18:33:10 -04:00
|
|
|
|
|
|
|
commands.addInboxThreadCommand('dm_channel_id', [], async (msg, args, thread) => {
|
|
|
|
const dmChannel = await thread.getDMChannel();
|
|
|
|
thread.postSystemMessage(dmChannel.id);
|
|
|
|
});
|
2018-04-21 08:41:03 -04:00
|
|
|
};
|