Remove !user-list
This commit is contained in:
parent
7915e3803c
commit
fdc811d49b
|
@ -2042,16 +2042,6 @@ command(
|
|||
{ hidden: true }
|
||||
)
|
||||
|
||||
command(
|
||||
['!user-list'],
|
||||
'Lists all users',
|
||||
async ({ say }) => {
|
||||
const users = await slack.app.client.users.list()
|
||||
console.log(users.members.filter(m => m.real_name?.toLowerCase().includes('nik')))
|
||||
say('k')
|
||||
}, adminOnly
|
||||
)
|
||||
|
||||
//webapi.launch()
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Reference in New Issue