diff --git a/README.md b/README.md index 47b6d47..0f31c1c 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,22 @@ # Sern Handler + NPM version NPM downloads Builds Passing Sern can automate and streamline development of your discord bot with new version compatibility and full customization. -- A reincarnation of [this old project](https://github.com/jacoobes/sern_handler) +- A reincarnation of [this old project](https://github.com/jacoobes/sern_handler) ## Installation ```sh npm install sern-handler ``` + ```sh yarn add sern-handler ``` + ```sh pnpm add sern-handler ``` @@ -21,6 +24,7 @@ pnpm add sern-handler ## Basic Usage #### ` index.js ` + ```js import { Client, Intents } from 'discord.js'; import { Sern } from 'sern-handler'; @@ -54,6 +58,7 @@ client.login(token); ``` #### ` ping.js ` + ```js import { Sern, Types } from 'sern-handler'; import { Ok } from 'ts-results'; @@ -78,8 +83,8 @@ See [documentation](https://sern-handler.js.org) for TypeScript examples and mor ## Contribute -- Pull up on [issues](https://github.com/sern-handler/Sern/issues) and tell us, if there are bugs -- All kinds of contributions are welcomed! +- Pull up on [issues](https://github.com/sern-handler/Sern/issues) and tell us, if there are bugs +- All kinds of contributions are welcomed! ## TODO diff --git a/tests/functions.test.ts b/tests/functions.test.ts index e142bd2..cb57fe2 100644 --- a/tests/functions.test.ts +++ b/tests/functions.test.ts @@ -1,4 +1,5 @@ -import { hasPrefix, fmt, isNotFromBot } from '../src/handler/utilities/messageHelpers'; +import { fmt, hasPrefix, isNotFromBot } from '../src/handler/utilities/messageHelpers'; + describe('FUNCTIONS', () => { test('If hasPrefix is a function', () => { expect(typeof hasPrefix).toBe('function'); @@ -9,5 +10,4 @@ describe('FUNCTIONS', () => { test('if isBot is a function', () => { expect(typeof isNotFromBot).toBe('function'); }); - });