calabasas 0.9.0 → 0.9.1

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/dist/index.js +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3545,6 +3545,11 @@ export const discord = {
3545
3545
  return callProxy("getMessage", { channelId, messageId });
3546
3546
  },
3547
3547
 
3548
+ /** Get messages from a channel (max 100 per call) */
3549
+ getMessages(channelId: string, options?: { limit?: number; before?: string; after?: string; around?: string }): Promise<unknown> {
3550
+ return callProxy("getMessages", { channelId, ...options });
3551
+ },
3552
+
3548
3553
  /** Add a reaction to a message */
3549
3554
  addReaction(channelId: string, messageId: string, emoji: string): Promise<unknown> {
3550
3555
  return callProxy("addReaction", { channelId, messageId, emoji });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "calabasas",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "CLI for Calabasas - Discord Gateway as a Service for Convex",
5
5
  "type": "module",
6
6
  "bin": {