diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..42061c0 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +README.md \ No newline at end of file diff --git a/README.md b/README.md index 0f31c1c..0501c6e 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,12 @@ const client = new Client({ }); new Sern.Handler({ - client, - prefix, - commands : 'dist/commands', - privateServers : [ + client, + prefix, + commands: 'dist/commands', + privateServers: [ { - test : true, + test: true, id: 'server-id' } ], @@ -63,13 +63,13 @@ client.login(token); import { Sern, Types } from 'sern-handler'; import { Ok } from 'ts-results'; -export default { +export default { alias: [], - desc : 'A ping pong command', - visibility : 'private', - test : false, + desc: 'A ping pong command', + visibility: 'private', + test: false, type: Sern.CommandType.SLASH | Sern.CommandType.TEXT, - execute : async ({ message, interaction }, args) => 'pong!' + execute: async ({ message, interaction }, args) => 'pong!' }; ```