mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 21:53:04 -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) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue