Timezones: Default To Use DB

This commit is contained in:
thororen1234 2025-05-28 09:28:07 -04:00
parent 43e8870dbc
commit f99327caa1
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View file

@ -61,8 +61,7 @@ const listener: MessageSendListener = async (channelId, msg) => {
if (hardSplit || splitIndex === -1) { if (hardSplit || splitIndex === -1) {
chunks.push(msg.content.slice(0, maxLength)); chunks.push(msg.content.slice(0, maxLength));
msg.content = msg.content.slice(maxLength); msg.content = msg.content.slice(maxLength);
} } else {
else {
chunks.push(msg.content.slice(0, splitIndex)); chunks.push(msg.content.slice(0, splitIndex));
msg.content = msg.content.slice(splitIndex); msg.content = msg.content.slice(splitIndex);
} }

View file

@ -52,7 +52,7 @@ export const settings = definePluginSettings({
useDatabase: { useDatabase: {
type: OptionType.BOOLEAN, type: OptionType.BOOLEAN,
description: "Enable database for getting user timezones", description: "Enable database for getting user timezones",
default: false default: true
}, },
preferDatabaseOverLocal: { preferDatabaseOverLocal: {