diff --git a/src/modules/snippets.js b/src/modules/snippets.js index 2a5ae73..e68d6a3 100644 --- a/src/modules/snippets.js +++ b/src/modules/snippets.js @@ -113,7 +113,7 @@ module.exports = ({ bot, knex, config, commands }) => { aliases: ["ds"] }); - commands.addInboxServerCommand("edit_snippet", " [text$]", async (msg, args, thread) => { + commands.addInboxServerCommand("edit_snippet", " ", async (msg, args, thread) => { const snippet = await snippets.get(args.trigger); if (! snippet) { utils.postSystemMessageWithFallback(msg.channel, thread, `Snippet "${args.trigger}" doesn't exist!`);