mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
wwoops
This commit is contained in:
parent
ee2b4a22f4
commit
02f165d008
1 changed files with 2 additions and 6 deletions
|
@ -18,13 +18,9 @@ module.exports = {
|
|||
await context.triggerTyping();
|
||||
const time = Date.now();
|
||||
console.log(`v2 | command refresh requested @ ${Date.now()} by ${context.user.username}${context.user.discriminator} (${context.user.id})`)
|
||||
let includeSlash = false;
|
||||
if(context.message.content.includes("-s")){
|
||||
includeSlash = true;
|
||||
}
|
||||
let data;
|
||||
if(includeSlash) data = await context.manager.broadcastEval(async (cluster) => {
|
||||
if (cluster.interactionCommandClient && includeSlash){
|
||||
if(context.message.content.includes("-s")) data = await context.manager.broadcastEval(async (cluster) => {
|
||||
if (cluster.interactionCommandClient){
|
||||
const interactionClient = cluster.interactionCommandClient;
|
||||
interactionClient.clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue