mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-19 19:37:02 -04:00
interaction command client interaction command client interaction command client interaction command client interaction command client interaction command client interaction command client interaction command client interaction command client interaction command client
This commit is contained in:
parent
7395d7d096
commit
0196471203
4 changed files with 148 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
const { Constants, ClusterClient, CommandClient } = require('detritus-client');
|
||||
const { Constants, ClusterClient, CommandClient, InteractionCommandClient } = require('detritus-client');
|
||||
const Paginator = require('./paginator').PaginatorCluster
|
||||
|
||||
// Create client
|
||||
|
@ -40,6 +40,10 @@ const paginator = new Paginator(cluster, {
|
|||
await commandClient.addMultipleIn('../commands/message/');
|
||||
await commandClient.run()
|
||||
|
||||
const interactionClient = new InteractionCommandClient()
|
||||
await interactionClient.addMultipleIn('../commands/interaction/');
|
||||
await interactionClient.run();
|
||||
|
||||
})();
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue