aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Commands.md
blob: d859d742d88fbcacd912c284ce306de197e5a594 (plain) (blame)
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
# Commands

These are the commands made available by this script. In In addition to
these commands, most normal IRC commands, like `/join`, `/part`,
`/query`, `/msg`, `/me`, `/topic`, `/away` and `/whois` work normally.
See [WeeChat's
documentation](https://weechat.org/files/doc/stable/weechat_user.en.html)
or `/help <cmd>` if you are unfamiliar with these.

## Available commands:

### away

```
/slack away
```

Sets your status as 'away'.

### back

```
/slack back
```

Sets your status as 'back'.

### channels

```
/slack channels
```

List the channels in the current team.

### distracting

```
/slack distracting
```

Add or remove the current channel from distracting channels. You can hide
or unhide these channels with /slack nodistractions.

### help

```
/slack help
```

Print help for /slack commands.

### hide

```
/hide
```

Hide the current channel if it is marked as distracting.

### label

```
/label <name>
```

Rename a thread buffer. Note that this is not permanent. It will only last
as long as you keep the buffer and wee-slack open.

### linkarchive

```
/slack linkarchive [message_id]
```

Place a link to the channel or message in the input bar.
Use cursor or mouse mode to get the id.

### mute

```
/slack mute
```

Toggle mute on the current channel.

### nodistractions

```
/slack nodistractions
```

Hide or unhide all channels marked as distracting.

### register

```
/slack register
```

Register a Slack team in wee-slack.

### rehistory

```
/rehistory
```

Reload the history in the current channel.

### reply

```
/reply <count/message_id> <text>
```

Reply in a thread on the message. Specify either the message id
or a count upwards to the message from the last message.

### showmuted

```
/slack showmuted
```

List the muted channels in the current team.

### slash

```
/slack slash /customcommand arg1 arg2 arg3
```

Run a custom slack command.

### status

```
/slack status [emoji [status_message]]
```

Lets you set your Slack Status (not to be confused with away/here).

### talk

```
/slack talk <user>[,<user2>[,<user3>...]]
```

Open a chat with the specified user(s).

### thread

```
/thread [message_id]
```

Open the thread for the message.
If no message id is specified the last thread in channel will be opened.

### upload

```
/slack upload <filename>
```

Uploads a file to the current buffer.

### users

```
/slack users
```

List the users in the current team.