you may notice i havent been posting much as of late
truth is, i have nothing interesting to say about whats happening with me, and of course: life
still alive, just, i kinda really dont care much, after all, i am doing my own thing(s)
that being said, hows y’all day been so far?
if you guys use https://www.npmjs.com/package/canvas
use https://www.npmjs.com/package/@napi-rs/canvas instead
guys please use regex or your code will end up like mine
let suggestionTitle = ""
if (args.find(x => x.startsWith("["))) {
if (args.find(x => x.endsWith("]"))) {
for (let i = 0; i < (args.indexOf(args.find(x => x.endsWith("]"))) - args.indexOf(args.find(x => x.startsWith("[")))) + 1; i++) {
suggestionTitle += args[args.indexOf(args.find(x => x.startsWith("["))) + i]
if (i < (args.indexOf(args.find(x => x.endsWith("]"))) - args.indexOf(args.find(x => x.startsWith("["))))) {
suggestionTitle += " "
}
}
} else {
message.reply("Please make sure you have a closing bracket!")
return
}
} else {
message.reply("Please provide a title for your suggestion!")
return
}
ok it turns out 20 addons didnt win the game jam at all
its just that only 3 people (including me) participated in the jam, which the game jam holder expected more people to join. and now he doesnt want to add any bots to the server