-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
c:\Users\LightslicerGP\node_modules\aoi.sqlite\classes\Database.js:152
this.client.db.prepare(query).run(`${key}_${id}`, value);
^
RangeError: Too few parameter values were provided
at c:\Users\LightslicerGP\node_modules\aoi.sqlite\classes\Database.js:152:37
at sqliteTransaction (c:\Users\LightslicerGP\node_modules\better-sqlite3\lib\methods\transaction.js:65:24)
at SQLDatabase.set (c:\Users\LightslicerGP\node_modules\aoi.sqlite\classes\Database.js:156:7)
at module.exports (c:\Users\LightslicerGP\node_modules\aoi.js\src\events\Custom\timeout.js:14:27)
at Timeout (c:\Users\LightslicerGP\node_modules\aoi.js\src\core\functions.js:285:47)
at module.exports [as code] (c:\Users\LightslicerGP\node_modules\aoi.js\src\functions\setTimeout.js:32:21)
at Interpreter (c:\Users\LightslicerGP\node_modules\aoi.js\src\core\interpreter.js:307:104)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async c:\Users\LightslicerGP\node_modules\aoi.js\src\events\GuildMessages\alwaysExecute.js:12:9
Node.js v22.3.0
issue when i have a message that meets the requirement for this cooldown code to run:
module.exports = [
{
name: "$alwaysExecute",
code: `
$setTimeout[DiscordBumpMessage;2h;{"channelID": "$channelID"}]
$reply[$messageID;true]
$clientTyping
$color[#80bfff]
$description[
Alright, I will ping the dbump role in 2 hours!
]
$onlyIfMessageContains[$getEmbed[$channelID;$messageID;1;description];DISBOARD: The Public Server List]
$onlyIf[$channelID==$findNumbers[$getGuildVar[DisboardBumpChannel;$guildID]]]
$onlyIf[$authorID==302050872383242240]
`,
},
{
name: "DiscordBumpMessage",
type: "timeout",
code: `
$reply[$messageID;true]
$channelSendMessage[$timeoutData[channelID];
Okay <@&972600952655872120>, you can now do discord bump!
]
`,
},
];Metadata
Metadata
Assignees
Labels
No labels