Skip to content

Commit

Permalink
3.5.0-dev-3
Browse files Browse the repository at this point in the history
Added a text to wiki about command /247
  • Loading branch information
AlexInCube committed Aug 5, 2024
1 parent 9ff6372 commit db3c4f8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/locales/en/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"lyrics_arg_query": "title of song",
"lyrics_embed_text_not_correct": "The text may not be correct",
"lyrics_embed_lyrics_not_found": "Lyrics not found",
"247_desc": "Toggle 24/7 mode. If enabled, bot will stay in channel when no remain songs to play.",
"247_desc": "Toggle 24/7 mode. If enabled, bot will stay in a channel when no remain songs to play.",
"247_enabled": "Mode 24/7 is activated",
"247_disabled": "Mode 24/7 is disabled"
}
21 changes: 19 additions & 2 deletions wiki/Commands.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
# About command system

Bot supports slash and text command systems.

## Slash commands

Nothing special, start writing / and select command from the list

## Text commands

If a bot owner does not change the default prefix in .env.production file, the prefix is //

> [!NOTE]
> If bot prefix conflicting with another bot on server,
> administrator can set the second text prefix for server using [/setPrefix](#setprefix) command
# Commands list

## Admin

It Can be used only by server administrators (people who have a role with "Administrator" permission)

### setPrefix

Changes bot prefix for the server

Example: /newPrefix $$
Expand Down Expand Up @@ -47,7 +53,7 @@ bot will recreate the player so that the player is always at the bottom of the c

Example: /play https://open.spotify.com/track/46gSk82duJtX3TTA182ruG?si=c668ab77755f4d88

Spawn audioplayer in a text channel if not exists.
Spawn audioplayer in a text channel if not exists.
Accept songs/playlist from links.
Support searching on YouTube
when you write something like this ![play-autocomplete](images/commands/play-autocomplete.png)
Expand Down Expand Up @@ -106,6 +112,12 @@ Example: /lyrics faded alan walker

Searching a provided query for song lyrics and return text

### 247

Toggle 24/7 mode.
If enabled, bot will stay in a channel when no remain songs to play.
And when all users leave a voice channel with bot

### audiodebug

Give the current count of spawned audioplayers
Expand All @@ -117,21 +129,26 @@ Give the current count of spawned audioplayers
## Fun

### alcotest

Generate random number for 0 to 100

## Info

### help
Return the command list or certain command description

Return the command list or certain command description

Command list example: /help
Certain command example: /help play

### inviteLink

Return the link for inviting the bot. Give the link to the administrator on another server.

### status

Return bot status data, about: OS, Ram Usage, Cpu Model, Cpu Usage, AICoTest Version, Servers Count.

### report

Return links to GitHub Issues or GitHub Discussions.

0 comments on commit db3c4f8

Please sign in to comment.