Skip to content

Commit 0c5d3ad

Browse files
committed
Add aliases for the stop command
1 parent 67a3e0a commit 0c5d3ad

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ docker compose -f docker-compose-warp.yml up -d
116116
|---------|-------------|---------|
117117
| `play <input>` | Smart play: local video, URL, or YouTube search | |
118118
| `ytsearch <query>` | Search YouTube and display results | |
119-
| `stop` | Stop current playback | |
119+
| `stop` | Stop current playback | `leave', `s` |
120120
| `skip` | Skip to next video in queue | `next` |
121121
| `queue` | Display current video queue | |
122122
| `list` | Show local video library | |

src/commands/stop.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default class StopCommand extends BaseCommand {
66
name = "stop";
77
description = "Stop current video playback and clear queue";
88
usage = "stop";
9+
aliases = ["leave", "s"];
910

1011
async execute(context: CommandContext): Promise<void> {
1112
if (!context.streamStatus.joined) {

0 commit comments

Comments
 (0)