fix(config): Fixed typos in resource config

This commit is contained in:
Taso committed 2021-04-13 22:06:43 -04:00
1 parent 60e38c9e5c
commit 8ce6ec7559
4 files changed
+8 -10

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@
"PhoneAsItem": false,
"SwimDestroy": false,
"RunRate": 10,
"DestoryChance": 100,
"DestroyChance": 100,
"DestroyPhoneReCheck": 3,
"notificationPosition": {
"horizontal": "right",
@@ -17,7 +17,7 @@
"twitter": {
"showNotifications": true,
"generateProfileNameFromUsers": true,
"allowEdtiableProfileName": true,
"allowEditableProfileName": true,
"allowDeleteTweets": true,
"allowReportTweets": true,
"characterLimit": 160,
@@ -29,7 +29,7 @@
},
"match": {
"generateProfileNameFromUsers": true,
"allowEdtiableProfileName": true
"allowEditableProfileName": true
},
"bank": {
"showNotifications": true
+1 -1
View File
@@ -348,7 +348,7 @@ onNet(MatchEvents.GET_MATCHES, async () => {
}
});
if (!config.match.allowEdtiableProfileName && !config.match.generateProfileNameFromUsers) {
if (!config.match.allowEditableProfileName && !config.match.generateProfileNameFromUsers) {
const warning =
`Both allowEdtiableProfileName and generateProfileNameFromUsers ` +
`are set false - this means users will likely not have profile names ` +
+1 -1
View File
@@ -517,7 +517,7 @@ onNet(TwitterEvents.REPORT, async (tweetId: number) => {
}
});
if (!config.twitter.allowEdtiableProfileName && !config.twitter.generateProfileNameFromUsers) {
if (!config.twitter.allowEditableProfileName && !config.twitter.generateProfileNameFromUsers) {
const warning =
`Both allowEdtiableProfileName and generateProfileNameFromUsers ` +
`are set false - this means users will likely not have profile names ` +
+3 -5
View File
@@ -1,7 +1,7 @@
interface TwitterConfig {
showNotifications: boolean;
generateProfileNameFromUsers: boolean;
allowEdtiableProfileName: boolean;
allowEditableProfileName: boolean;
allowDeleteTweets: boolean;
allowReportTweets: boolean;
characterLimit: number;
@@ -14,7 +14,7 @@ interface TwitterConfig {
interface MatchConfig {
generateProfileNameFromUsers: boolean;
allowEdtiableProfileName: boolean;
allowEditableProfileName: boolean;
}
interface Debug {
level: 'error' | 'warn' | 'info' | 'verbose' | 'debug';
@@ -34,15 +34,13 @@ interface BankConfig {
showNotifications: boolean;
}
export interface IServerConfig {
export interface ResourceConfig {
Locale: string;
KeyTogglePhone: number;
KeyTakeCall: number;
PhoneAsItem: boolean;
SwimDestroy: boolean;
RunRate: number;
DestoryChance: number;
DestroyPhoneReCheck: number;
twitter: TwitterConfig;
match: MatchConfig;
bank: BankConfig;