v14.0.0 Discord.js v14, Modals etc...
Chill has been updated to Discord.js v14
Some entries in the database (server settings toggles) have been changed from strings to boolean. If you are updating from an older version you MUST run this code once to update the database.
⚠️ CODE TO COPY
client.guilds.cache.forEach(guild => {
[`musicchannelonly`, `autodeletecmds`, `xpmodule`, `welcomemessage`, `welcomerole`, `djrequired`].forEach(key => {
if (client.settings.get(guild.id, key) === `true`) client.settings.set(guild.id, true, key);
else if (client.settings.get(guild.id, key) === `false`) client.settings.set(guild.id, false, key);
});
});
New:
/setconfig
got alanguage
option, you can now set the server language also using that command ( you can still change the language using the discord server settings like in v13)
Other:
update dependencies to latest release
Check the changelog of the past betas for more info:
14.0.0-beta.3
/announce
, /bug
, /say
now use Modals
Changed command string options to use minLength
and maxLength
( removed unnecessary checks etc... )
14.0.0-beta.2
weather is back with a new api, with more info and a new embed style
14.0.0-beta.1
Everything should now work fine with the latest djs v14, hopefully.
Notes:
/weather
api stopped working. there will be a new weather command in the final v14 release of the bot.
multilanguage system isn't fully working in this release.
instagram has been removed, rate limits are too low. maybe it will be back if I find a workaround