-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathhelp.toml.template
253 lines (209 loc) · 12.3 KB
/
help.toml.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
# Help info for each command
# the "short_description" is used for slash command previewm, with a 100 characters limit
# and the "description" is used for help command
# those ones in "parameters" are parameters of each command
# turto supports multiple language
# you can add more language support by copying the default settings
# just change the "default" to the LCID (Locale ID) you want
# for example for "Chinese - Taiwan" change from "default" to "zh-TW"
[default.autoleave]
short_description = "Toggle automatic leaving."
description = """Enable (`on`, `empty`, `silent`) or disable (`off`) automatic leaving. When automatic leaving is enabled, turto will leave the voice channel automatically when the playlist is empty after playback ends or is stopped.
- `on`: turto will leave when nothing is playing or no one is in the voice channel
- `empty`: turto will leave when no one is in the voice channel
- `silent`: turto will leave when no nothing is playing
- `off`: turto won't leave automatically"""
[default.autoleave.parameters]
toggle = "Toggle autoleave, refer to help command for usage"
[default.join]
short_description = "Let turto join the voice channel you are in."
description = "Let turto join the voice channel you are in. It has no effect if turto is already in another voice channel."
[default.leave]
short_description = "Let turto leave the current voice channel."
description = "Let turto leave the current voice channel."
[default.pause]
short_description = "Pause the currently playing item."
description = "Pause the currently playing item."
[default.play]
short_description = "Start playback."
description = """
Start playback. If turto is not in another voice channel, it will join your current one. Depending on the situation, there are several possibilities:
1. If `url` is provided, it will interrupt the currently playing item, and start playing it. Supported sources include YouTube, Bilibili videos and Soundcloud music (you can try other platform, as long as it's supported by yt-dlp).
2. If no `url` is provided and there is a paused item, it will resume playing that item.
3. If no `url` is provided and there is no paused item, it will start playing the playlist from the beginning."""
[default.play.parameters]
url = "Optional, the link to what you want to play"
[default.playlist]
short_description = "Display the playlist."
description = "Display the current playlist, which is shared across the entire server. You can specify `page` for the page number to directly display certain page, or use the select menu. Discord has a limitation of 25 options of select menu, so you need to specify `page` if there are more than 250 item in the playlist"
[default.playlist.parameters]
page = "Optional, the page to display"
[default.playwhat]
short_description = "Display the currently playing item."
description = "Display the currently playing item."
[default.queue]
short_description = "Add new item to the end of playlist."
description = "Add new item to the end of playlist, the parameter `url` can be any URL. Supported various platforms, as long as it's supported by yt-dlp. You can also directly add entire YouTube playlists, and playlist URLs will be prioritized."
[default.queue.parameters]
url = "The link to what you want to queue"
[default.seek]
short_description = "Seek the currently playing item to certain time"
description = "If there is a currently playing or paused item, jump to the specified `time` in seconds."
[default.seek.parameters]
time = "The time to seek, denoted in second"
[default.skip]
short_description = "Skip the currently playing item."
description = "Skip the currently playing item, and start playing the next item in the playlist."
[default.stop]
short_description = "Stop the currently playing item."
description = "Stop the currently playing item."
[default.volume]
short_description = "Adjust the volume"
description = "Adjust the volume to `value`, which can range from 0 (mute) to 100. The volume setting is shared across the entire server. If you want to check the current volume, "
[default.volume.parameters]
value = "The value of volume, range from 0 to 100"
[default.ban]
short_description = "Ban a user"
description = "Ban a user, then the banned user won't be able to use any command."
[default.ban.parameters]
user = "The user to be unbanned"
[default.unban]
short_description = "Unban a user"
description = "Unban a user (if banned), then the user will be able to use all commands."
[default.unban.parameters]
user = "The user to be unbanned"
[default.shuffle]
short_description = "Shuffle the playlist."
description = "Shuffle the playlist."
[default.repeat]
short_description = "Toggle repeating"
description = "Enable (`on`) or disable (`off`) repeating. When repeating is enabled, turto will repeatly playing the currently playing item."
[default.repeat.parameters]
toggle = "Can be`on` or `off`, to toggle repeat function"
[default.about]
short_description = "Display the information about this bot."
description = "Display the information about this bot."
[default.remove]
short_description = "Delete items from the playlist."
description = """Delete certain items from the playlist, there are two ways to use it:
1. You can delete the item at position `which` in the playlist, by specifying the `which` parameter.
2. You can delete all items between positions `which` and `to_which` in the playlist, by specifying both `which` and `to_which` parameters."""
[default.remove.parameters]
which = "Which item to remove"
to_which = "Optional, if specified, remove all items within the range `which` to `to_which`."
[default.clear]
short_description = "Clear the playlist."
[default.help]
short_description = "Look up how to use each command"
[default.help.parameters]
command = "The command to look up"
[default.insert]
short_description = "Add new item to the beginning of playlist."
description = "Add new item to the beginning of playlist, the parameter `url` can be any URL. Supported various platforms, as long as it's supported by yt-dlp. You can also directly add entire YouTube playlists, and playlist URLs will be prioritized."
[default.insert.parameters]
url = "The link to what you want to queue"
# 以下是每個指令的幫助資訊
# "short_description"用於斜線指令預覽,有100個字的限制
# 而"description"用於help指令
# "parameters"中的內容是每個指令的各項參數
# turto支援多國語言
# 你可以通過複製預設設定來新增語言支援
# 只需將 "default" 改為你想要的LCID (Locale ID)
# 例如對於 "Chinese - Taiwan",需要將"default"改為"zh-TW"
# 以下是用於中文(台灣)的設定
[zh-TW.autoleave]
short_description = "開關自動離開"
description = """啟用(`on`、`empty`、`silent`)或停用(`off`)自動離開,如果自動離開有啟用,當播放結束或被停止時播放清單是空的,turto就會自動離開語音頻道。
- `on`: 當沒有在播放或語音頻道中沒有人時turto會自動離開語音頻道
- `empty`: 當語音頻道中沒有人時turto會自動離開語音頻道
- `silent`: 當沒有在播放時turto會自動離開語音頻道
- `off`: turto不會自動離開"""
[zh-TW.autoleave.parameters]
toggle = "開關自動離開功能,具體用法可以參考help指令中的資訊"
[zh-TW.join]
short_description = "讓turto加入你所在的語音頻道"
description = "如果turto不在其他語音頻道中,turto會加入你所在的語音頻道。"
[zh-TW.leave]
short_description = "讓turto離開目前所在的語音頻道"
description = "當你跟turto在同一個語音頻道時,讓turto離開目前所在的語音頻道。"
[zh-TW.pause]
short_description = "暫停正在播放中的的項目"
description = "暫停正在播放中的的項目。"
[zh-TW.play]
short_description = "開始播放"
description = """
開始播放,如果turto沒有在其他語音頻道的話,就會進入你所在的語音頻道,依照狀況不同有以下幾種可能:
1. 有指定`url`參數的話,會打斷正在播放的項目,並開始播放指定的內容。目前支援YouTube、Bilibili的影片,和Soundcloud的音樂等等(其他影音平台也可以試試看,只要是yt-dlp有支援的皆可)。
2. 如果沒有指定`url`參數,且目前有暫停的項目時則會繼續播放。
3. 如果沒有指定`url`參數,目前也沒有暫停的項目,會從頭開始播放播放清單。"""
[zh-TW.play.parameters]
url = "可選參數,要播放的連結"
[zh-TW.playlist]
short_description = "顯示目前的播放清單"
description = "顯示目前的播放清單,整個伺服器會共用同一個播放清單。當播放清單中的項目數量超過10個時,會以每頁10個項目分成好幾頁。你可以輸入`page`來指定頁數,或是直接用選單來指定頁數。因為Discord的選單有25個選項的限制,當播放清單中有超過250個項目時就必須輸入`page`。"
[zh-TW.playlist.parameters]
page = "可選項,要顯示的頁數"
[zh-TW.playwhat]
short_description = "顯示目前正在播放的項目"
description = "顯示目前正在播放的項目。"
[zh-TW.queue]
short_description = "在播放清單的最後面加入新的項目"
description = "在播放清單的最後面加入新的項目,參數`url`可以是任何連結,支援多種影音平台,只要是yt-dlp有支援的皆可。你也可以直接加入整個YouTube播放清單,帶有播放清單的YouTube網址會優先加入整個播放清單。"
[zh-TW.queue.parameters]
url = "要加入到播放清單中的連結"
[zh-TW.seek]
short_description = "跳轉到到某個時間點"
description = "如果目前有正在播放或暫停中的的項目,將播放進度跳轉到第`time`秒。"
[zh-TW.seek.parameters]
time = "要跳轉的時間點,以秒來表示"
[zh-TW.skip]
short_description = "跳過目前正在播放的項目"
description = "跳過目前正在播放的項目,並開始播放播放清單中的下一個項目(如果有的話)。"
[zh-TW.stop]
short_description = "停止目前正在播放的項目"
description = "停止目前正在播放的項目。"
[zh-TW.volume]
short_description = "調整音量"
description = "將音量調整為`value`,最小是0(靜音)最大是100。整個伺服器共用同一個音量。如果不指定`value`參數則會顯示目前的音量"
[zh-TW.volume.parameters]
value = "音量的數值,最小是0是最大100"
[zh-TW.ban]
short_description = "封鎖定使用者"
description = "把指定的使用者(也就是`user`參數)封鎖,被封鎖之後就沒辦法使用任何指令,這個指令只有管理員或擁有者能用。"
[zh-TW.ban.parameters]
user = "要封鎖的使用者"
[zh-TW.unban]
short_description = "解除封鎖使用者"
description = "把指定的使用者(也就是`user`參數)解封,這個指令只有管理員或擁有者能用。"
[zh-TW.unban.parameters]
user = "要解除封鎖的使用者"
[zh-TW.shuffle]
short_description = "將播放清單隨機洗牌"
description = "將播放清單隨機洗牌。"
[zh-TW.repeat]
short_description = "開關單曲循環"
description = "開啟(`on`)或關閉(`off`)單曲循環。"
[zh-TW.repeat.parameters]
toggle = "可以是`on`或是`off`,啟用或關閉單曲循環功能。"
[zh-TW.about]
short_description = "顯示關於這個機器人的資訊"
description = "顯示關於這個機器人的資訊。"
[zh-TW.remove]
short_description = "刪除播放清單中的項目"
description = """刪除播放清單中的某些項目,有以下兩種用法
1. 你可以只指定`which`,這會刪除播放清單中第`which`個項目。
2. 你也可以同時指定`which`和`which`,這會刪除播放清單中從第`which`到第`to_which`之間的所有項目。"""
[zh-TW.remove.parameters]
which = "要刪除播放清單中的第幾個項目"
to_which = "可選項,如果有指定的話會刪除從第`which`個到第`to_which`的所有項目"
[zh-TW.clear]
short_description = "清空播放清單"
[zh-TW.help]
short_description = "查詢指令的詳細用法"
[zh-TW.help.parameters]
command = "要查詢的指令"
[zh-TW.insert]
short_description = "在播放清單的最前面加入新的項目"
description = "在播放清單的最前面加入新的項目,參數`url`可以是任何連結,支援多種影音平台,只要是yt-dlp有支援的皆可。你也可以直接加入整個YouTube播放清單,帶有播放清單的YouTube網址會優先加入整個播放清單。"
[zh-TW.insert.parameters]
url = "要加入到播放清單中的連結"