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.
Files changed (2) hide show
  1. package/index.ts +3 -3
  2. 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
- await updatePresence()
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
- await updatePresence()
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
- await updatePresence()
182
+ updatePresence()
183
183
  },
184
184
  }
185
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-discord",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Discord Rich Presence plugin for OpenCode — shows your AI coding activity in Discord",
5
5
  "type": "module",
6
6
  "main": "index.ts",