Skip to content

Commit ee7947b

Browse files
committed
Upgraded channels to conversations per Slack API deprecation.
1 parent 24cce56 commit ee7947b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016-2024 Daniel Doubrovkine, Vestris LLC, Artsy and Contributors
3+
Copyright (c) 2016-2025 Daniel Doubrovkine, Vestris LLC, Artsy and Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,34 @@ auth test | $.team_id
6161
Names of all unarchived channels.
6262

6363
```
64-
channels list | $..[?(@.is_archived==false)].name
64+
conversations list | $..[?(@.is_archived==false)].name
6565
6666
[
6767
"demo",
6868
"general",
6969
"apiapi",
70+
...
7071
]
7172
```
7273

7374
Find out the ID of the _#general_ channel, the easy way.
7475

7576
```
76-
channels id --channel=#general
77+
conversations info --channel=#general
7778
7879
{
7980
"ok": true,
8081
"channel": {
81-
"id": "C04KB5X4D"
82+
"id": "C04KB5X4D",
83+
...
8284
}
8385
}
8486
```
8587

8688
Find out the ID of the _#general_ channel, the hard way.
8789

8890
```
89-
channels list | $..[?(@.name=="general")].id
91+
conversations list | $..[?(@.name=="general")].id
9092
9193
[
9294
"C04KB5X4D"
@@ -117,6 +119,6 @@ This bot is built with [slack-ruby-bot](https://github.com/dblock/slack-ruby-bot
117119

118120
## Copyright and License
119121

120-
Copyright (c) 2016-2024, Daniel Doubrovkine, Vestris LLC, Artsy and [Contributors](CHANGELOG.md).
122+
Copyright (c) 2016-2025, Daniel Doubrovkine, Vestris LLC, Artsy and [Contributors](CHANGELOG.md).
121123

122124
This project is licensed under the [MIT License](LICENSE.md).

0 commit comments

Comments
 (0)