Skip to main content

Plugin Editable Commands


@sapphire/plugin-editable-commands is a tiny wrapper on top of @skyra/editable-commands that re-exports everything and registers a listener to make commands also run on message edit.


npm install @sapphire/plugin-editable-commands @sapphire/framework


In your main or setup file, register the plugin:


Then use send or reply from the package, as shown below:

import { Command } from '@sapphire/framework';
import { Message, EmbedBuilder } from 'discord.js';
import { send } from '@sapphire/plugin-editable-commands';

export class UserCommand extends Command {
public constructor(context: Command.Context, options: Command.Options) {
super(context, {
description: 'A very cool command',
requiredClientPermissions: ['EMBED_LINKS']

public messageRun(message: Message) {
const embed = new EmbedBuilder()
.setDescription('Example description')

return send(message, { embeds: [embed] });