Comparing version 1.17.0 to 1.18.0
@@ -0,1 +1,5 @@ | ||
# 1.18.0 | ||
- Add AI Web Browsing | ||
# 1.17.0 | ||
@@ -2,0 +6,0 @@ |
@@ -54,2 +54,3 @@ "use strict"; | ||
tts: data.maxTTS, | ||
browseIterations: data.maxBrowseIterations, | ||
gpt3Messages: data.gpt3Messages | ||
@@ -56,0 +57,0 @@ }; |
@@ -33,3 +33,3 @@ "use strict"; | ||
this.controller = controller; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L; | ||
this.id = data.id; | ||
@@ -51,2 +51,3 @@ this.infos = import_User.User.from(data.user); | ||
tts: data.maxTTS, | ||
browseIterations: data.maxBrowseIterations, | ||
gpt3Messages: data.gpt3Messages, | ||
@@ -64,21 +65,22 @@ cooldown: data.aiCooldown | ||
search_web: (_n = (_m = data.functions) == null ? void 0 : _m.aiSearchWeb) != null ? _n : null, | ||
generate_tts: (_p = (_o = data.functions) == null ? void 0 : _o.aiGenerateTTS) != null ? _p : null | ||
generate_tts: (_p = (_o = data.functions) == null ? void 0 : _o.aiGenerateTTS) != null ? _p : null, | ||
browse_web: (_r = (_q = data.functions) == null ? void 0 : _q.aiBrowseWeb) != null ? _r : null | ||
}, | ||
level: { | ||
enabled: (_r = (_q = data.functions) == null ? void 0 : _q.levelEnabled) != null ? _r : null, | ||
send_messages: (_t = (_s = data.functions) == null ? void 0 : _s.levelSendMessages) != null ? _t : null | ||
enabled: (_t = (_s = data.functions) == null ? void 0 : _s.levelEnabled) != null ? _t : null, | ||
send_messages: (_v = (_u = data.functions) == null ? void 0 : _u.levelSendMessages) != null ? _v : null | ||
}, | ||
ticket: { | ||
enabled: (_v = (_u = data.functions) == null ? void 0 : _u.ticketEnabled) != null ? _v : null, | ||
ping_role: (_x = (_w = data.functions) == null ? void 0 : _w.ticketPingRole) != null ? _x : null | ||
enabled: (_x = (_w = data.functions) == null ? void 0 : _w.ticketEnabled) != null ? _x : null, | ||
ping_role: (_z = (_y = data.functions) == null ? void 0 : _y.ticketPingRole) != null ? _z : null | ||
}, | ||
suggestion: { | ||
enabled: (_z = (_y = data.functions) == null ? void 0 : _y.suggestionEnabled) != null ? _z : null, | ||
create_thread: (_B = (_A = data.functions) == null ? void 0 : _A.suggestionCreateThread) != null ? _B : null, | ||
ping_role: (_D = (_C = data.functions) == null ? void 0 : _C.suggestionPingRole) != null ? _D : null, | ||
dm_updates: (_F = (_E = data.functions) == null ? void 0 : _E.suggestionDMUpdates) != null ? _F : null | ||
enabled: (_B = (_A = data.functions) == null ? void 0 : _A.suggestionEnabled) != null ? _B : null, | ||
create_thread: (_D = (_C = data.functions) == null ? void 0 : _C.suggestionCreateThread) != null ? _D : null, | ||
ping_role: (_F = (_E = data.functions) == null ? void 0 : _E.suggestionPingRole) != null ? _F : null, | ||
dm_updates: (_H = (_G = data.functions) == null ? void 0 : _G.suggestionDMUpdates) != null ? _H : null | ||
}, | ||
reminder: { | ||
send_to_dm: (_H = (_G = data.functions) == null ? void 0 : _G.reminderSendToDM) != null ? _H : null, | ||
enforce_send: (_J = (_I = data.functions) == null ? void 0 : _I.reminderEnforceSend) != null ? _J : null | ||
send_to_dm: (_J = (_I = data.functions) == null ? void 0 : _I.reminderSendToDM) != null ? _J : null, | ||
enforce_send: (_L = (_K = data.functions) == null ? void 0 : _K.reminderEnforceSend) != null ? _L : null | ||
} | ||
@@ -85,0 +87,0 @@ }; |
{ | ||
"name": "@rjns/bot", | ||
"version": "1.17.0", | ||
"version": "1.18.0", | ||
"description": "RJNS BOT Client", | ||
@@ -23,3 +23,3 @@ "module": "lib/esm/index.js", | ||
"@rjns/bot": "link:", | ||
"@types/node": "^18.19.15", | ||
"@types/node": "^18.19.17", | ||
"esbuild": "^0.17.19", | ||
@@ -26,0 +26,0 @@ "typescript": "^5.3.3" |
@@ -31,2 +31,3 @@ import { User } from "./User"; | ||
tts: data.maxTTS, | ||
browseIterations: data.maxBrowseIterations, | ||
gpt3Messages: data.gpt3Messages | ||
@@ -33,0 +34,0 @@ }; |
@@ -10,3 +10,3 @@ import { User } from "./User"; | ||
this.controller = controller; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L; | ||
this.id = data.id; | ||
@@ -28,2 +28,3 @@ this.infos = User.from(data.user); | ||
tts: data.maxTTS, | ||
browseIterations: data.maxBrowseIterations, | ||
gpt3Messages: data.gpt3Messages, | ||
@@ -41,21 +42,22 @@ cooldown: data.aiCooldown | ||
search_web: (_n = (_m = data.functions) == null ? void 0 : _m.aiSearchWeb) != null ? _n : null, | ||
generate_tts: (_p = (_o = data.functions) == null ? void 0 : _o.aiGenerateTTS) != null ? _p : null | ||
generate_tts: (_p = (_o = data.functions) == null ? void 0 : _o.aiGenerateTTS) != null ? _p : null, | ||
browse_web: (_r = (_q = data.functions) == null ? void 0 : _q.aiBrowseWeb) != null ? _r : null | ||
}, | ||
level: { | ||
enabled: (_r = (_q = data.functions) == null ? void 0 : _q.levelEnabled) != null ? _r : null, | ||
send_messages: (_t = (_s = data.functions) == null ? void 0 : _s.levelSendMessages) != null ? _t : null | ||
enabled: (_t = (_s = data.functions) == null ? void 0 : _s.levelEnabled) != null ? _t : null, | ||
send_messages: (_v = (_u = data.functions) == null ? void 0 : _u.levelSendMessages) != null ? _v : null | ||
}, | ||
ticket: { | ||
enabled: (_v = (_u = data.functions) == null ? void 0 : _u.ticketEnabled) != null ? _v : null, | ||
ping_role: (_x = (_w = data.functions) == null ? void 0 : _w.ticketPingRole) != null ? _x : null | ||
enabled: (_x = (_w = data.functions) == null ? void 0 : _w.ticketEnabled) != null ? _x : null, | ||
ping_role: (_z = (_y = data.functions) == null ? void 0 : _y.ticketPingRole) != null ? _z : null | ||
}, | ||
suggestion: { | ||
enabled: (_z = (_y = data.functions) == null ? void 0 : _y.suggestionEnabled) != null ? _z : null, | ||
create_thread: (_B = (_A = data.functions) == null ? void 0 : _A.suggestionCreateThread) != null ? _B : null, | ||
ping_role: (_D = (_C = data.functions) == null ? void 0 : _C.suggestionPingRole) != null ? _D : null, | ||
dm_updates: (_F = (_E = data.functions) == null ? void 0 : _E.suggestionDMUpdates) != null ? _F : null | ||
enabled: (_B = (_A = data.functions) == null ? void 0 : _A.suggestionEnabled) != null ? _B : null, | ||
create_thread: (_D = (_C = data.functions) == null ? void 0 : _C.suggestionCreateThread) != null ? _D : null, | ||
ping_role: (_F = (_E = data.functions) == null ? void 0 : _E.suggestionPingRole) != null ? _F : null, | ||
dm_updates: (_H = (_G = data.functions) == null ? void 0 : _G.suggestionDMUpdates) != null ? _H : null | ||
}, | ||
reminder: { | ||
send_to_dm: (_H = (_G = data.functions) == null ? void 0 : _G.reminderSendToDM) != null ? _H : null, | ||
enforce_send: (_J = (_I = data.functions) == null ? void 0 : _I.reminderEnforceSend) != null ? _J : null | ||
send_to_dm: (_J = (_I = data.functions) == null ? void 0 : _I.reminderSendToDM) != null ? _J : null, | ||
enforce_send: (_L = (_K = data.functions) == null ? void 0 : _K.reminderEnforceSend) != null ? _L : null | ||
} | ||
@@ -62,0 +64,0 @@ }; |
{ | ||
"name": "@rjns/bot", | ||
"version": "1.17.0", | ||
"version": "1.18.0", | ||
"description": "RJNS BOT Client", | ||
@@ -23,3 +23,3 @@ "module": "lib/esm/index.js", | ||
"@rjns/bot": "link:", | ||
"@types/node": "^18.19.15", | ||
"@types/node": "^18.19.17", | ||
"esbuild": "^0.17.19", | ||
@@ -26,0 +26,0 @@ "typescript": "^5.3.3" |
@@ -14,2 +14,3 @@ import ServerController from "../controllers/server"; | ||
maxTTS: number; | ||
maxBrowseIterations: number; | ||
gpt3Messages: number; | ||
@@ -120,2 +121,6 @@ premiumExpiresAt: string | null; | ||
/** | ||
* The Maximum Amount of Browse Iterations allowed | ||
* @since 1.18.0 | ||
*/ browseIterations: number; | ||
/** | ||
* The Default Amount of Context Messages after a User will use GPT 3.5 | ||
@@ -167,2 +172,3 @@ * @since 1.2.2 | ||
tts: number; | ||
browseIterations: number; | ||
week: { | ||
@@ -174,2 +180,3 @@ day: import("..").Day; | ||
tts: number; | ||
browseIterations: number; | ||
}[]; | ||
@@ -176,0 +183,0 @@ }>; |
@@ -16,2 +16,3 @@ import { DeepRequired } from "@rjweb/utils"; | ||
maxTTS: number | null; | ||
maxBrowseIterations: number | null; | ||
gpt3Messages: number | null; | ||
@@ -28,2 +29,3 @@ aiCooldown: number | null; | ||
aiGenerateTTS: boolean | null; | ||
aiBrowseWeb: boolean | null; | ||
levelEnabled: boolean | null; | ||
@@ -55,2 +57,3 @@ levelSendMessages: boolean | null; | ||
generate_tts?: boolean | null; | ||
browse_web?: boolean | null; | ||
}; | ||
@@ -148,2 +151,6 @@ level?: { | ||
/** | ||
* The Maximum Amount of Browse Iterations allowed | ||
* @since 1.18.0 | ||
*/ browseIterations: number | null; | ||
/** | ||
* The Amount of Context Messages after the User will use GPT 3.5 | ||
@@ -183,2 +190,3 @@ * @since 1.2.2 | ||
tts?: number | null; | ||
browseIterations?: number | null; | ||
gpt3Messages?: number | null; | ||
@@ -199,6 +207,3 @@ cooldown?: number | null; | ||
week: { | ||
day: import("..").Day; /** | ||
* The Maximum Amount of AI Images allowed | ||
* @since 1.1.0 | ||
*/ | ||
day: import("..").Day; | ||
cost: string; | ||
@@ -211,6 +216,3 @@ }[]; | ||
*/ aiStats(): import("../..").Response<{ | ||
queries: number; /** | ||
* The Functions of the User | ||
* @since 1.15.0 | ||
*/ | ||
queries: number; | ||
searches: number; | ||
@@ -217,0 +219,0 @@ images: number; |
@@ -82,2 +82,3 @@ import { Day, FullClientOptions } from "../.."; | ||
tts: number; | ||
browseIterations: number; | ||
week: { | ||
@@ -89,2 +90,3 @@ day: Day; | ||
tts: number; | ||
browseIterations: number; | ||
}[]; | ||
@@ -91,0 +93,0 @@ }>; |
@@ -16,2 +16,3 @@ import { FullClientOptions } from "../.."; | ||
tts?: number; | ||
browseIterations?: number; | ||
gpt3Messages?: number; | ||
@@ -58,2 +59,3 @@ cooldown?: number; | ||
generate_tts?: boolean; | ||
browse_web?: boolean; | ||
}; | ||
@@ -176,2 +178,3 @@ level?: { | ||
tts?: number | null; | ||
browseIterations?: number | null; | ||
gpt3Messages?: number | null; | ||
@@ -210,2 +213,3 @@ cooldown?: number | null; | ||
tts: number; | ||
browseIterations: number; | ||
gpt3Messages: number; | ||
@@ -260,2 +264,3 @@ cooldown: number; | ||
generate_tts: boolean; | ||
browse_web: boolean; | ||
}; | ||
@@ -262,0 +267,0 @@ level: { |
@@ -108,2 +108,3 @@ import { DeepRequired } from "@rjweb/utils"; | ||
tts: number; | ||
browseIterations: number; | ||
week: { | ||
@@ -115,2 +116,3 @@ day: Day; | ||
tts: number; | ||
browseIterations: number; | ||
}[]; | ||
@@ -117,0 +119,0 @@ }>; |
{ | ||
"name": "@rjns/bot", | ||
"version": "1.17.0", | ||
"version": "1.18.0", | ||
"description": "RJNS BOT Client", | ||
@@ -23,3 +23,3 @@ "module": "lib/esm/index.js", | ||
"@rjns/bot": "link:", | ||
"@types/node": "^18.19.15", | ||
"@types/node": "^18.19.17", | ||
"esbuild": "^0.17.19", | ||
@@ -26,0 +26,0 @@ "typescript": "^5.3.3" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175246
5203