Skip to content

Commit

Permalink
Merge pull request #86 from spdermn02/patch-1
Browse files Browse the repository at this point in the history
Patch 1
  • Loading branch information
gitagogaming authored Aug 12, 2024
2 parents 9da7dfb + 75ccde7 commit 8a0cfb2
Show file tree
Hide file tree
Showing 10 changed files with 366 additions and 256 deletions.
22 changes: 16 additions & 6 deletions base/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ let TP_PLUGIN_CATEGORIES = {
"Discord": {
id: "TPDiscord",
name: "Discord",
imagepath: `%TP_PLUGIN_FOLDER%${PLUGIN_FOLDER}/${PLUGIN_ICON}.png`,
imagepath: `%TP_PLUGIN_FOLDER%${PLUGIN_FOLDER}/${PLUGIN_ICON}`,
},
"VoiceChannel Info": {
id: "TPDiscord_VoiceChannel",
Expand Down Expand Up @@ -217,7 +217,15 @@ Object.assign(states, {
category: "Mentions",
type: "text",
desc: "Mention: Channel Type",
default: ""
default: "",
valueChoices: [
// "voice",
"text",
"forum",
"announcement",
"dm"
]

},

})
Expand Down Expand Up @@ -385,7 +393,7 @@ Object.assign(states, {
id: "discord_outputDevice",
category: "Discord",
type: "text",
desc: "Discord Current Input Device",
desc: "Discord Current Output Device",
default: ""
},
"16":{
Expand Down Expand Up @@ -1006,7 +1014,8 @@ Object.assign(events, {
format: "When receiving a new Direct Message $val",
type: "communicate",
valueChoices: [
"True"
"True",
"False"
],
valueType: "choice",
valueStateId: "discord_newDM_eventState"
Expand All @@ -1018,12 +1027,13 @@ Object.assign(events, {
format: "When receiving a new Mention $val",
type: "communicate",
valueChoices: [
"True"
"True",
"False"
],
valueType: "choice",
valueStateId: "discord_newMention_eventState"
}
})


module.exports = {PLUGIN_ID, PLUGIN_NAME, PLUGIN_FOLDER, PLUGIN_ICON, TP_PLUGIN_INFO, TP_PLUGIN_SETTINGS}
// module.exports = {PLUGIN_ID, PLUGIN_NAME, PLUGIN_FOLDER, PLUGIN_ICON, TP_PLUGIN_INFO, TP_PLUGIN_SETTINGS}
16 changes: 12 additions & 4 deletions base/entry.tp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@
{
"id": "discord_outputDevice",
"type": "text",
"desc": "Discord Current Input Device",
"desc": "Discord Current Output Device",
"default": ""
},
{
Expand Down Expand Up @@ -793,7 +793,8 @@
"format": "When receiving a new Direct Message $val",
"type": "communicate",
"valueChoices": [
"True"
"True",
"False"
],
"valueType": "choice",
"valueStateId": "discord_newDM_eventState"
Expand All @@ -804,7 +805,8 @@
"format": "When receiving a new Mention $val",
"type": "communicate",
"valueChoices": [
"True"
"True",
"False"
],
"valueType": "choice",
"valueStateId": "discord_newMention_eventState"
Expand Down Expand Up @@ -909,7 +911,13 @@
"id": "discord_Mention_channelType",
"type": "text",
"desc": "Mention: Channel Type",
"default": ""
"default": "",
"valueChoices": [
"text",
"forum",
"announcement",
"dm"
]
}
]
}
Expand Down
Loading

0 comments on commit 8a0cfb2

Please sign in to comment.