mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 13:43:03 -04:00
Timezones: Default To Use DB
This commit is contained in:
parent
43e8870dbc
commit
f99327caa1
2 changed files with 2 additions and 3 deletions
|
@ -61,8 +61,7 @@ const listener: MessageSendListener = async (channelId, msg) => {
|
|||
if (hardSplit || splitIndex === -1) {
|
||||
chunks.push(msg.content.slice(0, maxLength));
|
||||
msg.content = msg.content.slice(maxLength);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
chunks.push(msg.content.slice(0, splitIndex));
|
||||
msg.content = msg.content.slice(splitIndex);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ export const settings = definePluginSettings({
|
|||
useDatabase: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Enable database for getting user timezones",
|
||||
default: false
|
||||
default: true
|
||||
},
|
||||
|
||||
preferDatabaseOverLocal: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue