mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
feat: add .prettierignore and ignore README.md
This commit is contained in:
1
.prettierignore
Normal file
1
.prettierignore
Normal file
@@ -0,0 +1 @@
|
||||
README.md
|
||||
20
README.md
20
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!'
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user