diff --git a/src/routes/bots.ts b/src/routes/bots.ts index 92aa3b5..6801525 100644 --- a/src/routes/bots.ts +++ b/src/routes/bots.ts @@ -81,7 +81,7 @@ resource('/bots/:bot', { * @minLength 1 * @maxLength 2048 **/ - interactionsURL?: string; + interactions_url?: string; /** * Field to remove from bot object diff --git a/types/Bots.ts b/types/Bots.ts index 962db1d..3347250 100644 --- a/types/Bots.ts +++ b/types/Bots.ts @@ -30,7 +30,7 @@ export interface Bot { * * Required for dynamic interactions such as bot commands and message actions. Events will be sent over HTTP and a response may be generated directly. */ - interactionsURL: string + interactions_url?: string } export interface PublicBot {