nexpid / GCommands-fix

A @Garlic-Team/GCommands Message Command fix.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GCommands-fix

A gcommands Message Command fix.

Installation

npm i gcommands-fix --save

Usage

require("dotenv").config();
const { GClient } = require("gcommands");
const { GFix, GFixEphemeralBehaviour } = require("gcommands-fix");

const client = new GClient({
  dirs: [__dirname + "/src/commands"],
  messageSupport: false, // MUST be disabled!
  intents: [],
});
new GFix(client, {
  prefix: "!",
  log: true,
  ephemeral: GFixEphemeralBehaviour.SendInChannel,
  thinking: `*{CLIENT} is thinking...*`,
});

client.login(process.env.token);

About

A @Garlic-Team/GCommands Message Command fix.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%