Comments (5)
this line is susp for me:
maybe there we should use a user
flag:
try {
if (!flags.channel || !flags.type || !flags.user) {
...
from stream-cli.
Hi,
Thanks for reaching out.
Are you having an error when trying to reference one of your custom channel types?
If yes can you share this error?
Best,
from stream-cli.
ok so here is what i exactly try:
I want to promote a user to moderator one of our custom type channel. For example this channel's type: custom_type1
and the channelID is my_channel1
and here is the user's userID: user_12345
so my command will be:
> stream chat:channel:promote_moderator --type="custom_type1" --channel="my_channel1" --user="user_12345"
After I run this command it seems to me, the Stream CLI ignores the flags and prompt me for the ChannelID input:
? What is the unique identifier for the channel? ›
The next step is this:
? What type of channel is this? …
❯ Livestream
Messaging
Gaming
Commerce
Team
So I this last step there is no option to input my custom channel type.
from stream-cli.
But i created a pull request which I think will solves this issue: #56
from stream-cli.
Hi,
Thanks for those details and PR.
@ferhatelmas, could you help with this?
from stream-cli.
Related Issues (20)
- Feature request: ability to generate bulk test data
- Running get-app command throws an error HOT 1
- event not found: members when retrieving channel by type & ID
- Cannot set auto_translation_enabled via update-app
- Add command to restore users HOT 1
- CLI updating channel with image null doesn't work (bug) HOT 1
- Translation support HOT 2
- unable to add custom data fields when creating a channel HOT 4
- Support configurable timeout for the underlying client
- Error: timeout of falsems exceeded HOT 6
- chat:message:list doesn't respect command line args HOT 3
- Is there any kind of multi-config/multi-app support HOT 4
- Upgrade client to 3.x HOT 1
- chat:channel:create doesn't respect "users" flag HOT 1
- chat:user:update always prompts for user input HOT 1
- Ability to supporrt multiple environments / configs HOT 2
- Conflict with imagemagick HOT 2
- Unexpected token o in JSON at position 1 (firebase test) HOT 6
- Updating channel data properties
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stream-cli.