Comments (8)
Thanks for the request and explanation. The RPC api is deprecated but there are still functions to do stuff like this so I'll investigate to see if it's still possible.
from touchportal_discord_plugin.
Did some research - and from the documentation I see, without using a BOT you cannot write messages using the connectivity method I am using. I'm going to leave this open as I continue to do research but wanted to share that info.
If you are curious, these are the MAX I would have access to https://discord.com/developers/docs/topics/rpc#commands-and-events and only then with the correct permission scope to do so.
from touchportal_discord_plugin.
@Darydactyl - may need to look into a Webhook for your discord server: https://dev.to/oskarcodes/send-automated-discord-messages-through-webhooks-using-javascript-1p01
This could then just post using the https post action in Touch Portal a specifically formatted data object to the webhook. I'll do some testing and let you know how it goes.
from touchportal_discord_plugin.
Yeah webhooks - works fantastic. I'll put a video together or something to show it off. But yeah - that is the feature you want.
from touchportal_discord_plugin.
I could build this into the discord plugin and grant you the ability to "create" a webhook for your server, etc. and select the channel for it to go into and then just make a list of webhooks by name and give you the option to
use "hook" to send "message" to discord
where "hook" is a droppdown of available webhooks you have configured, and "message" is whatever message you want to send... hmm let me think about it - i'll reopen this.
Also doing it like this will make it a cleaner implementation for a user, than having to know the in's and out's of discord server management, and JSON structure.
from touchportal_discord_plugin.
I have webhooks for other features using IFTTT, this sounds like a great feature to implement
from touchportal_discord_plugin.
would it be possible to add buttons for push to talk and vad?
from touchportal_discord_plugin.
would it be possible to add buttons for push to talk and vad?
I have this marked as another enhancement that I'm investigating for the next version.
from touchportal_discord_plugin.
Related Issues (20)
- Bug TPdiscord Plugin is disabled HOT 9
- Feature request - Set Status HOT 3
- pkg Warning when running build scripts HOT 2
- TP-discord mac 4.0.5 crashes on start-up HOT 3
- Push to Talk no longer working HOT 4
- not opening the developer portal or the aithorize window HOT 3
- Voice channel selection issue HOT 1
- Cannot import into Touch Portal 3.0.8.0.0 HOT 2
- Sometimes Plugin Needs Restart HOT 2
- Authorization does not pop up HOT 8
- Can't connect to discord... HOT 3
- [Request] HOT 2
- Latest TP app stuck on analyzing when installing the discord plugin. HOT 6
- Discord does not pop up HOT 2
- Latest Discord Update Restricts "rpc" scope
- Feature Request - Add Voice Channel Member Counter
- Request HOT 3
- BUG: My plugin don't connect HOT 5
- Feature request: Soundboard HOT 5
- Unknown issue causing Go To Channel action to kill the plugin
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 touchportal_discord_plugin.