Skip to content

Commit ec56ef3

Browse files
committed
feat: update commands documentation for Twitch and Discord bots
1 parent 3e4b8e7 commit ec56ef3

4 files changed

Lines changed: 295 additions & 105 deletions

File tree

docs/discord-bot/commands.md

Lines changed: 64 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,75 @@
11
# Commands
22

3-
## Global Commands <Badge type="warning" text="NEW"/>
3+
## System Commands <Badge type="warning" text="NEW"/>
44

5-
| Command | Response |
6-
| :----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
7-
| invite | Senchabot Discord bot invite url. |
8-
| cmds | {channel.name}'s Channel Commands: ... |
9-
| help | Senchabot's Commands: cmds, acmd, dcmd, ucmd, acmda, dcmda, sozluk, ping, invite, help. |
10-
| senchabot | An open-source, multi-platform bot designed for seamless integration with Twitch and Discord • [senchabot.app](https://senchabot.app)[github.com/senchabot-opensource/monorepo](https://github.com/senchabot-opensource/monorepo) |
11-
| kampus | discord.gg/kampus - github.com/kamp-us |
12-
| frontendship | discord.gg/frontendship |
13-
| ping | pong! VoHiYo
5+
| Command | Response |
6+
| :-- | :-- |
7+
| /set-twitch | Add Twitch livestream announcement for a channel. |
8+
| /set-kick | Add Kick livestream announcement for a channel. |
9+
| /del-twitch | Remove Twitch livestream announcement. |
10+
| /del-kick | Remove Kick livestream announcement. |
11+
| /streamer-list | List tracked Twitch and Kick streamers. |
12+
| /purge | Bulk delete channel messages or bot-created events. |
13+
| /invite | Get the bot invite link. |
14+
| /do-not-track-my-messages | Opt out of message tracking. |
15+
| /track-my-messages | Opt in to message tracking. |
16+
| /cmds | List available commands for the server. |
1417

15-
<!-- PURGE -->
16-
<!-- ## Purge <Badge type="info" text="planned"/>
18+
::: info Information
19+
20+
Custom slash command management commands are documented in [`Custom Commands`](/discord-bot/custom-commands).
21+
:::
22+
23+
<!-- Custom Commands Button -->
24+
<style src="@theme/style.css" scoped></style>
25+
<div>
26+
<a class="content-ref-s" href="/discord-bot/custom-commands">
27+
<span class="ref-details-s">
28+
<span class="content-ref-page-title-s">Custom Commands</span>
29+
</span>
30+
<svg style="width:32px;height:32px;" viewBox="0 0 24 24" class="content-ref-svg-s" aria-hidden="true"><path fill="currentColor" d="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"></path></svg>
31+
</a>
32+
</div>
33+
34+
## Purge <Badge type="warning" text="NEW"/>
1735

1836
```
19-
/purge events
37+
/purge last-100-channel-messages message-content:giveaway
2038
```
2139

40+
::: details Example Usage
41+
42+
<DiscordMessages>
43+
<DiscordMessage profile="user">
44+
/purge last-100-channel-messages message-content:giveaway
45+
</DiscordMessage>
46+
<DiscordMessage profile="bot" role-color="#1fab89">
47+
Purge completed. Matching messages were removed.
48+
</DiscordMessage>
49+
</DiscordMessages>
50+
51+
*Removes matching recent messages or bot-created events.*
52+
:::
53+
54+
## Streamer List <Badge type="warning" text="NEW"/>
55+
2256
```
23-
/purge last-100-channel-messages message-content-contains:
57+
/streamer-list
2458
```
2559

26-
```
27-
/purge last-100-channel-messages message-content-contains: user-name-contains:
28-
``` -->
60+
::: details Example Usage
61+
62+
<DiscordMessages>
63+
<DiscordMessage profile="user">
64+
/streamer-list
65+
</DiscordMessage>
66+
<DiscordMessage profile="bot" role-color="#1fab89">
67+
Tracked streamers: shroud (Twitch), xqc (Kick)
68+
</DiscordMessage>
69+
</DiscordMessages>
70+
71+
*Returns currently tracked livestream streamers.*
72+
:::
2973

3074
## Module Commands
3175

@@ -34,7 +78,7 @@
3478
<div>
3579
<a class="content-ref-s" href="/discord-bot/live-stream-announcements">
3680
<span class="ref-details-s">
37-
<span class="content-ref-page-title-s">Live Stream Announcements <Badge type="warning" text="NEW"/></span>
81+
<span class="content-ref-page-title-s">Live Stream Announcements <Badge type="warning" text="NEW"/></span>
3882
</span>
3983
<svg style="width:32px;height:32px;" viewBox="0 0 24 24" class="content-ref-svg-s" aria-hidden="true"><path fill="currentColor" d="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"></path></svg>
4084
</a>
@@ -45,7 +89,7 @@
4589
<div>
4690
<a class="content-ref-s" href="/discord-bot/live-stream-events">
4791
<span class="ref-details-s">
48-
<span class="content-ref-page-title-s">Live Stream Events <Badge type="warning" text="NEW"/></span>
92+
<span class="content-ref-page-title-s">Live Stream Events <Badge type="warning" text="NEW"/></span>
4993
</span>
5094
<svg style="width:32px;height:32px;" viewBox="0 0 24 24" class="content-ref-svg-s" aria-hidden="true"><path fill="currentColor" d="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"></path></svg>
5195
</a>
@@ -56,7 +100,7 @@
56100
<div>
57101
<a class="content-ref-s" href="/discord-bot/custom-api-system">
58102
<span class="ref-details-s">
59-
<span class="content-ref-page-title-s">Custom API System <Badge type="warning" text="NEW"/></span>
103+
<span class="content-ref-page-title-s">Custom API System <Badge type="warning" text="NEW"/></span>
60104
</span>
61105
<svg style="width:32px;height:32px;" viewBox="0 0 24 24" class="content-ref-svg-s" aria-hidden="true"><path fill="currentColor" d="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"></path></svg>
62106
</a>

docs/tr/discord-bot/commands.md

Lines changed: 49 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,75 @@
11
# Komutlar
22

3-
## Ön Tanımlı Komutlar <Badge type="warning" text="NEW"/>
4-
5-
| Komut | Senchabot'un Yanıtı |
6-
| :----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
7-
| invite | Senchabot'un sunucu davet linkini gönderir. |
8-
| cmds | {channel.name}'s Channel Commands: ... |
9-
| help | Senchabot's Commands: cmds, acmd, dcmd, ucmd, acmda, dcmda, sozluk, ping, invite, help. |
10-
| senchabot | An open-source, multi-platform bot designed for seamless integration with Twitch and Discord • [senchabot.app](https://senchabot.app)[github.com/senchabot-opensource/monorepo](https://github.com/senchabot-opensource/monorepo) |
11-
| kampus | discord.gg/kampus - github.com/kamp-us |
12-
| frontendship | discord.gg/frontendship |
13-
| ping | pong! VoHiYo |
14-
<!-- PURGE -->
15-
<!-- ## Temizleme <Badge type="warning" text="NEW"/>
3+
## Sistem Komutları <Badge type="warning" text="NEW"/>
4+
5+
| Komut | Yanıt |
6+
| :-- | :-- |
7+
| /set-twitch | Kanal için Twitch canlı yayın duyurusu ekler. |
8+
| /set-kick | Kanal için Kick canlı yayın duyurusu ekler. |
9+
| /del-twitch | Twitch canlı yayın duyurusunu kaldırır. |
10+
| /del-kick | Kick canlı yayın duyurusunu kaldırır. |
11+
| /streamer-list | Canlı yayın duyuruları için eklenmiş Twitch ve Kick yayıncılarını listeler. |
12+
| /purge | Kanal mesajlarını veya bot etkinliklerini toplu siler. |
13+
| /invite | Botun davet bağlantısını gösterir. |
14+
| /do-not-track-my-messages | Mesaj takibinden çıkış yapar. |
15+
| /track-my-messages | Mesaj takibine tekrar dahil olur. |
16+
| /cmds | Sunucu için kullanılabilir komutları listeler. |
17+
18+
::: info Bilgilendirme
19+
20+
Özel slash komut yönetimi komutları [`Özel Komutlar`](/tr/discord-bot/custom-commands) sayfasında belgelenmiştir.
21+
:::
22+
23+
<!-- Custom Commands Button -->
24+
<style src="@theme/style.css" scoped></style>
25+
<div>
26+
<a class="content-ref-s" href="/tr/discord-bot/custom-commands">
27+
<span class="ref-details-s">
28+
<span class="content-ref-page-title-s">Özel Komutlar</span>
29+
</span>
30+
<svg style="width:32px;height:32px;" viewBox="0 0 24 24" class="content-ref-svg-s" aria-hidden="true"><path fill="currentColor" d="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"></path></svg>
31+
</a>
32+
</div>
33+
34+
## Purge <Badge type="warning" text="NEW"/>
1635

1736
```
18-
/purge events
37+
/purge last-100-channel-messages message-content:giveaway
1938
```
20-
Tüm zamanlanmış etkinlikleri iptal eder.
2139

2240
::: details Örnek Kullanım
2341

24-
Kullanıcı Mesajı
25-
26-
Senchabot'un Yanıtı
27-
28-
:::
42+
<DiscordMessages>
43+
<DiscordMessage profile="user">
44+
/purge last-100-channel-messages message-content:giveaway
45+
</DiscordMessage>
46+
<DiscordMessage profile="bot" role-color="#1fab89">
47+
Purge tamamlandı. Eşleşen mesajlar silindi.
48+
</DiscordMessage>
49+
</DiscordMessages>
2950

30-
```
31-
/purge last-100-channel-messages message-content-contains: user-name-contains:
32-
```
33-
14 günden eski olmayan mesajları kullanıcı adı veya mesaj iceriğindeki karakterlere göre siler.
34-
-->
51+
*Eşleşen yeni mesajları veya bot tarafından oluşturulan etkinlikleri siler.*
52+
:::
3553

36-
## Sözlük <Badge type="warning" text="NEW"/>
54+
## Yayıncı Listesi <Badge type="warning" text="NEW"/>
3755

3856
```
39-
!sozluk [term_name]
57+
/streamer-list
4058
```
4159

4260
::: details Örnek Kullanım
4361

44-
<!-- EXAMPLE - !sozluk senchabot -->
4562
<DiscordMessages>
46-
<!-- TODO: NEW COMPONENT (user message) => change user message -->
4763
<DiscordMessage profile="user">
48-
<DiscordMarkdown>
49-
!sozluk senchabot
50-
</DiscordMarkdown>
64+
/streamer-list
5165
</DiscordMessage>
5266
<DiscordMessage profile="bot" role-color="#1fab89">
53-
<DiscordMarkdown>
54-
Senchabot: Açık kaynak Discord ve Twitch botu.
55-
</DiscordMarkdown>
67+
Takip edilen yayıncılar: shroud (Twitch), xqc (Kick)
5668
</DiscordMessage>
5769
</DiscordMessages>
58-
:::
5970

60-
<!-- Result Photo ? -->
71+
*Takip edilen canlı yayın yayıncılarını listeler.*
72+
:::
6173

6274
## Modül Komutları
6375

0 commit comments

Comments
 (0)