mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
Fixed bug
This commit is contained in:
parent
ebb4160198
commit
767ce54d8f
1 changed files with 2 additions and 1 deletions
|
@ -58,6 +58,7 @@ const settings = definePluginSettings({
|
|||
reasons: {
|
||||
description: "Your custom reasons",
|
||||
type: OptionType.COMPONENT,
|
||||
default: [],
|
||||
component: ReasonsComponent,
|
||||
},
|
||||
otherOptionDefault: {
|
||||
|
@ -84,7 +85,7 @@ export default definePlugin({
|
|||
}
|
||||
],
|
||||
getReasons() {
|
||||
return (settings.store.reasons.length() ? settings.store.reasons : [
|
||||
return (settings.store.reasons.length ? settings.store.reasons : [
|
||||
i18n.Messages.BAN_REASON_OPTION_SPAM_ACCOUNT,
|
||||
i18n.Messages.BAN_REASON_OPTION_HACKED_ACCOUNT,
|
||||
i18n.Messages.BAN_REASON_OPTION_BREAKING_RULES
|
||||
|
|
Loading…
Add table
Reference in a new issue