From c965f6fca22109596f033218ce732dba8123d9dd Mon Sep 17 00:00:00 2001 From: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com> Date: Sun, 9 Oct 2022 12:38:06 +0300 Subject: [PATCH] feat: Improvements --- docs/guide/walkthrough/first-command.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/walkthrough/first-command.md b/docs/guide/walkthrough/first-command.md index 5f2b9bb7f..65a7e4940 100644 --- a/docs/guide/walkthrough/first-command.md +++ b/docs/guide/walkthrough/first-command.md @@ -14,7 +14,7 @@ export default commandModule({ type: CommandType.Both, plugins: [], description: 'A ping command', - //alias : [], + // alias : [], execute: async (ctx, args) => { await ctx.reply({ content: 'Pong 🏓' }); }, @@ -28,7 +28,7 @@ exports.default = commandModule({ type: CommandType.Both, plugins: [], description: 'A ping command', - //alias : [], + // alias : [], execute: async (ctx, args) => { await ctx.reply('Pong 🏓'); }, @@ -79,7 +79,7 @@ optional **except** the type and execute function. # Context class The provided Context class helps with modules of `CommandType.Both` (A mixture of slash / legacy commands). -The Context class is passed into modules with type : +The Context class is passed into modules with type: - `CommandType.Both` - `CommandType.Slash` - `CommandType.Text`