opencode-discord 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +3 -3
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -151,7 +151,7 @@ export const DiscordStatus: Plugin = async ({ client: sdk, directory }) => {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
updatePresence()
|
|
155
155
|
},
|
|
156
156
|
|
|
157
157
|
"tool.execute.before": async (input, output) => {
|
|
@@ -167,7 +167,7 @@ export const DiscordStatus: Plugin = async ({ client: sdk, directory }) => {
|
|
|
167
167
|
lastEditedFile = basename(args?.filePath) ?? lastEditedFile
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
updatePresence()
|
|
171
171
|
},
|
|
172
172
|
|
|
173
173
|
"tool.execute.after": async (input) => {
|
|
@@ -179,7 +179,7 @@ export const DiscordStatus: Plugin = async ({ client: sdk, directory }) => {
|
|
|
179
179
|
activity = sessionActive ? "thinking" : "idle"
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
updatePresence()
|
|
183
183
|
},
|
|
184
184
|
}
|
|
185
185
|
}
|