Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AkiaCode authored Aug 22, 2023
1 parent 7f373ce commit 7b876d9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@

You can import the package from https://deno.land/x/harmony/mod.ts (with latest version) or can add a version too, and raw GitHub URL (latest unpublished version) https://raw.githubusercontent.com/harmonyland/harmony/main/mod.ts too.

We also have a (fancy) custom registry for importing Harmony! It's at [code.harmony.rocks](https://code.harmony.rocks), example import URL: `https://code.harmony.rocks/v2.9.0`.
We also have a (fancy) custom registry for importing Harmony! It's at [code.harmony.rocks](https://code.harmony.rocks), example import URL: `https://code.harmony.rocks`.

## Usage (Node.js)

You can install and use the NPM package published under `@harmonyland/harmony`.

## Documentation

Documentation is available [main branch](https://doc.deno.land/https/raw.githubusercontent.com/harmonyland/harmony/main/mod.ts) or [latest stable version (v2.6.1)](https://doc.deno.land/https/deno.land/x/harmony@v2.9.0/mod.ts). You can also check out the [guide](https://harmony.mod.land).
Documentation is available [main branch](https://doc.deno.land/https/raw.githubusercontent.com/harmonyland/harmony/main/mod.ts) or [latest stable version](https://doc.deno.land/https/deno.land/x/harmony/mod.ts). You can also check out the [guide](https://harmony.mod.land).

## Example

For a quick example, run this:

```bash
deno run --allow-net https://deno.land/x/harmony@v2.9.0/examples/ping.ts
deno run --allow-net https://deno.land/x/harmony/examples/ping.ts
```

And input your bot's token.
Expand All @@ -48,7 +48,7 @@ import {
Client,
Message,
GatewayIntents
} from 'https://deno.land/x/harmony@v2.9.0/mod.ts'
} from 'https://deno.land/x/harmony/mod.ts'

const client = new Client({
intents: [
Expand Down Expand Up @@ -83,7 +83,7 @@ import {
Command,
CommandContext,
GatewayIntents
} from 'https://deno.land/x/harmony@v2.9.0/mod.ts'
} from 'https://deno.land/x/harmony/mod.ts'

const client = new CommandClient({
prefix: '!',
Expand Down Expand Up @@ -124,7 +124,7 @@ import {
command,
CommandContext,
GatewayIntents
} from 'https://deno.land/x/harmony@v2.9.0/mod.ts'
} from 'https://deno.land/x/harmony/mod.ts'

class MyClient extends CommandClient {
constructor() {
Expand Down

0 comments on commit 7b876d9

Please sign in to comment.