From a26d04e58037b10c0a1a12c5588352d40b095cb6 Mon Sep 17 00:00:00 2001 From: Jaren Goldberg Date: Tue, 16 Jul 2024 21:04:21 -0400 Subject: [PATCH] feat: add guildId to channel query --- package-lock.json | 4 ++-- package.json | 2 +- src/rest/Channel.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 94fc730..928401a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@countbot/countbot-api-types", - "version": "1.11.1", + "version": "1.12.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@countbot/countbot-api-types", - "version": "1.11.1", + "version": "1.12.1", "license": "MIT", "devDependencies": { "@types/node": "^20.14.5", diff --git a/package.json b/package.json index 4282d9f..f71a4d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@countbot/countbot-api-types", - "version": "1.11.1", + "version": "1.12.1", "description": "API types for CountBot", "author": { "name": "CountBot", diff --git a/src/rest/Channel.ts b/src/rest/Channel.ts index 2b38471..ac9a28c 100644 --- a/src/rest/Channel.ts +++ b/src/rest/Channel.ts @@ -21,6 +21,7 @@ export type CountingMode = (typeof CountingModes)[number]; export interface RESTGetAPICountingChannels extends BaseAuthRouteOptions | null> { Querystring: { channelId?: string; + guildId?: string; }; }