1.1.1 • Published 1 year ago

gcommands-fix v1.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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);
1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago