An open API service indexing awesome lists of open source software.

https://github.com/hacksore/cordlink

👹 Convert Discord voice channel links to obnoxious markdown
https://github.com/hacksore/cordlink

cli discord markdown typescript-library

Last synced: 5 months ago
JSON representation

👹 Convert Discord voice channel links to obnoxious markdown

Awesome Lists containing this project

README

          

# cordlink

## Usage
You can run the following command with a link to a voice channel.

```
npx cordlink https://discord.gg/9aQBSt6aAX
```

It will copy a string like this to your clipboard.
```
# <:japanese_goblin:>👉[▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓]()👈<:japanese_goblin:>
```

What people will see and clicking on it forces them into the VC you linked.
image

```
Usage: cordlink [options]

Convert the direct link to a voice channel to markdown

Arguments:
inviteLink discord invite link to convert

Options:
-e, --emoji [emoji] the emoji to use on the start end and (default: ":japanese_goblin:")
-b, --block [char] the block char to use (default: "â–“")
-l, --length [number] the amount of block chars to use (default: "666")
-v, --verbose raise the verbosity over 9001
-h, --help display help for command
```

## Development

```
pnpm i
```

Testing the CLI locally:
```
pnpm dev -v https://discord.gg/9aQBSt6aAX
```

Contributions welcome!