So I've seen a bunch of stackoverflow questions about how to add custom emojis to embeds, but is there any way you can add default emojis to embeds? Like default discord emojis like :wave:, etc.
Default emojis can bu use as <:name:id>
Related
Is it possible to create a bilingual help message using discord.py commands? So when !help is used, it shows the English help message and when another alias !hilfe is used, it shows the German one (for example)?
A simple solution would be to just implement the command separatly. But I am wondering whether there is an inbuilt solution.
I'm trying to use FluentUI Northstar for a React app for Microsoft Teams, but there does not seem to be a well-documented solution to work out what theme to apply, or how to respond when the user changes the theme.
As far as I can see, the theme is passed into the Provider, e.g.
<Provider theme={themes.teams}>...</Provider>
But while I could pass themes.teamsDark, for example, I am at a loss as to how to get this theme from Teams itself, or how to set up an onChange notification.
Is this possible, and (even better), is there any official MS documentation I have missed here?
To get notified of theme changes while your app/tab is in view you can use the microsoftTeams.registerOnThemeChangeHandler API documented here:
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/access-teams-context#theme-change-handling
There is a useful community-built helper out there that can help you glue this all together:
https://github.com/wictorwilen/msteams-react-base-component
Is it possible to get the text of what a user says to Google home ? I couldn't find any way how to do that.
I have an API that can process language as a text. If that's not possible, is it possible to get what users says. I could then use speech recognition to get the text.
Thank you
It looks like you can use the RawInputs portion of the conversation API.
https://developers.google.com/actions/reference/v1/conversation#RawInputs
In my website i want to allow users to post aritcals.Users post articles in a textarea as used by users of stackoverflow to post their question. Now i want to allow them to format articles, without having them to know html.User should be allowed to mark text as bold, put a image, mark some part as code, etc (other things as used by stackoverflow and hubpages.com).
How can i provide shuch option in UI.
How do i support it DB?
Why not use an editor like TinyMCE ?
http://tinymce.moxiecode.com/
http://www.openwebware.com/wysiwyg/demo.shtml
Try this one :)
I am trying to implement customizable notifications. The notification itself consists of text and some placeholders for system-generated data:
alt text http://arsds.com/sample.png (http://www.evernote.com/pub/lkurts/public#Note/aab1e6eb-1eaf-4b9d-8cef-6bd499be0bb9)
As you can see the placeholder is in square brackets: [User Name]. For each notification, a number of allowed placeholders exists.
I am trying to figure out the UI way of presenting these placeholders to the user. Here is one example from the "Quickbase' application:
alt text http://arsds.com/QB.png (http://www.evernote.com/pub/lkurts/public#Note/fc0b6f66-f792-406c-9751-b88250d3ef9c)
Are there any established ways of doing this? UI Design Patterns? Maybe some samples of how other applications are dealing with this?
Here's a screenshot from a web-based application we use at my company. The screenshot is the template used for mail sent to job applicants. As you can see it's very similar to your Quickbase screenshot.
Message template http://img41.imageshack.us/img41/7295/picture2kss.png