Is there a way in Discord JDA (server-side) to disable User Join \ User Leave audio? - discord-jda

is it possible to mute VC join | leave audio from the server for all users? or is that a feature that doesnt exist? I know about the user variant Settings > Notifications > Sounds > User Leave|Join|Moved but I would like it server wide as users will be constantly switching channels automatically as assigned from the bot, however I'd rather not ask every user to manually do so client side..

This is not possible. All of these sound effects are client-side and cannot be controlled by bots.

Related

Send a user message to a user via Power Automate in MS Teams

Is there a possibility to send a user message to specified user(s) in MS Teams?
Elaboration:
My current flow triggers a message to a user, but it is always sent via FlowBot and appears in the Power Automate chat of MS Teams.
Flow: (Outlook; Trigger) "When a new email arrives (V3)" → (MS Teams) "Post message in chat or channel" → (Outlook) "Mark as read or unread" (v3)
Can individual users be set as recipients of direct messages with the message sent in the already existing chat with the user?
If yes, is it possible without a value chain?
Thanks!
As I see it, there are kind of a few different questions in your post, so I'll try deal with each of them:
In order to send a message directly to a user, the user has to come "from" someone/something, and in Teams that basically means a Bot. The easiest way, therefore, to do this is to use the out-of-box FlowBot. If that's fine for you, you're good to go. If you want it to come from another Bot (i.e. one you own) then you need to create a Bot somehow. Two main options are:
Code it from scratch using Microsoft Bot Framework - code in a regular language (C#, Python, etc.) or using Bot Framework Composer
Use Power Virtual Agents - ala "Power" family, it's kind of a "Drag and Drop" bot capability. You don't need to actually have the bot DO anything though, if you don't want it to handle user responses (you can do most of that visually in your Power Automate flow. For this option, you'll be able to select the bot from within Power Automate designer as the "send from" bot
You can choose to have the bot send a message directly to the user (i.e. in a 1-1 chat, like what you're seeing with FlowBot) or you can choose to have it send to a particular Channel inside Teams - either is fine. Be aware that Channels have threaded conversations, if you want to use them, but 1-1 chats do not.
You can try these Power Automate steps to create the 1:1 chat between you and the user, then send a message to it.

Slack API - persistent message visible only to a set of users in a public channel

I'm planning to write a slack app, and I need to render messages depending on who read them.
I'm thinking something like: the App should have some options, and user's clients should render the messages depending on the options chosen by the user.
Is there a way to post a persistent message (I mean not an ephemeral message) which is shown only to a user (or a set of users)?
Or
Is it possible to post a message shown differently depending on the user who read it?
I don't need to send private or sensitive data, so if the solution to my problem is a message containing all the content for all the users in the channel, it is perfectly fine. It's just matter of user experience.
I have two constraints:
The user experience for those who don't use the App should not be impacted
I need the messages from the App to be rendered in reply to messages sent by the users, so solutions like "open a new channel" or "send direct messages" are not suitable for my needs.
Thank you all (but the Slack team which, in case let us doing that, it makes that not clear in the documentation :D )
This is not possible unless you create your own client to show/display the messages.
Custom slack apps usually augment to the existing functionality. How do you expect to override the functionality of Native Slack 'Desktop, Mobile & Web' Client.
I am happy to discuss this further, if you have some approach in mind.

Is there a way to keep my Slack App from being used in Channels?

Is there a way to keep my Slack App from being used in Channels?
I only want the current user to be able to interact with the App directly and it not to show in any channels.
When setting up a app in MS Teams using App Studio there is a option that lets you limit the App to "Personal" I'm looking for something similar in Slack.
I am not sure what use cases you want to prohibit exactly, but in general your app can check each incoming request and decide if and how it wants to react to it.
For example you will always get the user ID of who sent the slash command or message to the bot. You can use that to filter our users that should not have access.
Update
To restrict your app the the app channel you need to do the following:
When receiving a request from the user, first open a direct message channel to the user from the bot user. That will always give you the channel ID of the app channel.
Then reply with a direct message in that app channel
or alternatively check if the received request is from the app channel and ask the user to only talk in app channel if it is not.
See also this answer on how this works in detail.

How can we hide the user has joined/left the Team in the channels?

We have a Team with hundred of members and several channels. New members joined and other leave the Teams and it becomes really annoying seeing this messages "xxxx has leave the team”, “yyyy has joined the team” on the conversion TAB.
How can we disable this function?
Regards
At the moment, there isn’t a way to turn off system messages in team edition!
Since many such requests have been made, I think this function will be available soon.
If you want to protect your users’ id´s, you could turn off showing email addresses and full names.
Go in the System Console > Settings > Privacy.

User starting a conversation with another user and a chatbot

Not sure how to approach this.
The flow kind of goes like this:
1. The client initiates a conversation with the chatbot asking for support.
2. Eventually the chatbot creates a message such as this on a team channel where support agents are available. From my understanding I can create links that would open group dialogues like so ? https://teams.microsoft.com/l/chat/0/0?users=user#email.com,user2#email.com or using the id ?
How can I do this for creating a group chat with the user AND the chatbot ? I tried adding it's ID and it didn't work for some reason but adding real users separated by comma worked.
If anything is there a way to use the Graph API to detect if a conversation was started between someone on the channel and the client ?

Resources