feat: add .prettierignore and ignore README.md

This commit is contained in:
Jacob Nguyen
2022-05-19 23:31:36 -05:00
parent d5bb9922df
commit 7ae5ecf1a6
2 changed files with 11 additions and 10 deletions

1
.prettierignore Normal file
View File

@@ -0,0 +1 @@
README.md

View File

@@ -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!'
};
```