mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 13:43:06 -04:00
add ingest
This commit is contained in:
parent
3e4d5258ae
commit
4c8d717e9a
4 changed files with 30 additions and 2 deletions
|
@ -57,11 +57,16 @@ const interactionClient = new InteractionCommandClient(cluster, {
|
|||
useClusterClient: true
|
||||
})
|
||||
|
||||
const { maintower, basecamp } = require('./logging');
|
||||
const { maintower, basecamp, ingest } = require('./logging');
|
||||
const { icon, highlight } = require('./utils/markdown');
|
||||
const { editOrReply } = require('./utils/message');
|
||||
|
||||
const { createEmbed } = require('./utils/embed');
|
||||
const superagent = require('superagent');
|
||||
|
||||
// Analytics
|
||||
commandClient.on('commandRan', ({ context, command }) => { if(!command.metadata.use_custom_ingest) ingest(command.name, "slash_command_ran")} )
|
||||
interactionClient.on('commandRan', ({ context, command }) => { if(!command.metadata.use_custom_ingest) ingest(command.name, "slash_command_ran")} )
|
||||
|
||||
// Handle missing permission errors
|
||||
commandClient.on('commandPermissionsFailClient', ({context, permissions}) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue