GithubHelp home page GithubHelp logo

Comments (8)

spdermn02 avatar spdermn02 commented on June 8, 2024

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.

spdermn02 avatar spdermn02 commented on June 8, 2024

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.

spdermn02 avatar spdermn02 commented on June 8, 2024

@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.

spdermn02 avatar spdermn02 commented on June 8, 2024

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.

spdermn02 avatar spdermn02 commented on June 8, 2024

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.

Darydactyl avatar Darydactyl commented on June 8, 2024

I have webhooks for other features using IFTTT, this sounds like a great feature to implement

from touchportal_discord_plugin.

marco0904 avatar marco0904 commented on June 8, 2024

would it be possible to add buttons for push to talk and vad?

from touchportal_discord_plugin.

spdermn02 avatar spdermn02 commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.