🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@guildedts/framework

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guildedts/framework

A framework for creating a Guilded bot.

latest
Source
npmnpm
Version
0.2.14
Version published
Maintainers
1
Created
Source
Guilded.TS

About

@guildedts/framework is a powerful framework for creating a Guilded bot.

Installation

  • npm i @guildedts/framework guilded.ts
  • yarn add @guildedts/framework guilded.ts
  • pnpm add @guildedts/framework guilded.ts

Example usage

commands/echo.js:

import { Command, StringArgument } from '@guildedts/framework';
// Or
const { Command, StringArgument } = require('@guildedts/framework');

class Echo extends Command {
	description = 'Echo a message.';
	arguments = [
		class extends StringArgument {
			name = 'content';
			description = 'The content to echo.';
		},
	];

	execute(message, { content }) {
		return message.reply(content);
	}
}

export default Echo;
// Or
module.exports = Echo;

Start the bot:

# Start the bot
gts start
# Start the bot in development mode
gts dev

Maintained by Gamertike | Contribute

Keywords

guilded

FAQs

Package last updated on 06 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts