mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
fix(config): Fixed typos in resource config
This commit is contained in:
1 parent
60e38c9e5c
commit
8ce6ec7559
4 files changed
+8
-10
No files matched your search
+3
-3
@@ -5,7 +5,7 @@
|
|||||||
"PhoneAsItem": false,
|
"PhoneAsItem": false,
|
||||||
"SwimDestroy": false,
|
"SwimDestroy": false,
|
||||||
"RunRate": 10,
|
"RunRate": 10,
|
||||||
"DestoryChance": 100,
|
"DestroyChance": 100,
|
||||||
"DestroyPhoneReCheck": 3,
|
"DestroyPhoneReCheck": 3,
|
||||||
"notificationPosition": {
|
"notificationPosition": {
|
||||||
"horizontal": "right",
|
"horizontal": "right",
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"twitter": {
|
"twitter": {
|
||||||
"showNotifications": true,
|
"showNotifications": true,
|
||||||
"generateProfileNameFromUsers": true,
|
"generateProfileNameFromUsers": true,
|
||||||
"allowEdtiableProfileName": true,
|
"allowEditableProfileName": true,
|
||||||
"allowDeleteTweets": true,
|
"allowDeleteTweets": true,
|
||||||
"allowReportTweets": true,
|
"allowReportTweets": true,
|
||||||
"characterLimit": 160,
|
"characterLimit": 160,
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"match": {
|
"match": {
|
||||||
"generateProfileNameFromUsers": true,
|
"generateProfileNameFromUsers": true,
|
||||||
"allowEdtiableProfileName": true
|
"allowEditableProfileName": true
|
||||||
},
|
},
|
||||||
"bank": {
|
"bank": {
|
||||||
"showNotifications": true
|
"showNotifications": true
|
||||||
|
|||||||
@@ -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 =
|
const warning =
|
||||||
`Both allowEdtiableProfileName and generateProfileNameFromUsers ` +
|
`Both allowEdtiableProfileName and generateProfileNameFromUsers ` +
|
||||||
`are set false - this means users will likely not have profile names ` +
|
`are set false - this means users will likely not have profile names ` +
|
||||||
|
|||||||
@@ -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 =
|
const warning =
|
||||||
`Both allowEdtiableProfileName and generateProfileNameFromUsers ` +
|
`Both allowEdtiableProfileName and generateProfileNameFromUsers ` +
|
||||||
`are set false - this means users will likely not have profile names ` +
|
`are set false - this means users will likely not have profile names ` +
|
||||||
|
|||||||
+3
-5
@@ -1,7 +1,7 @@
|
|||||||
interface TwitterConfig {
|
interface TwitterConfig {
|
||||||
showNotifications: boolean;
|
showNotifications: boolean;
|
||||||
generateProfileNameFromUsers: boolean;
|
generateProfileNameFromUsers: boolean;
|
||||||
allowEdtiableProfileName: boolean;
|
allowEditableProfileName: boolean;
|
||||||
allowDeleteTweets: boolean;
|
allowDeleteTweets: boolean;
|
||||||
allowReportTweets: boolean;
|
allowReportTweets: boolean;
|
||||||
characterLimit: number;
|
characterLimit: number;
|
||||||
@@ -14,7 +14,7 @@ interface TwitterConfig {
|
|||||||
|
|
||||||
interface MatchConfig {
|
interface MatchConfig {
|
||||||
generateProfileNameFromUsers: boolean;
|
generateProfileNameFromUsers: boolean;
|
||||||
allowEdtiableProfileName: boolean;
|
allowEditableProfileName: boolean;
|
||||||
}
|
}
|
||||||
interface Debug {
|
interface Debug {
|
||||||
level: 'error' | 'warn' | 'info' | 'verbose' | 'debug';
|
level: 'error' | 'warn' | 'info' | 'verbose' | 'debug';
|
||||||
@@ -34,15 +34,13 @@ interface BankConfig {
|
|||||||
showNotifications: boolean;
|
showNotifications: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IServerConfig {
|
export interface ResourceConfig {
|
||||||
Locale: string;
|
Locale: string;
|
||||||
KeyTogglePhone: number;
|
KeyTogglePhone: number;
|
||||||
KeyTakeCall: number;
|
KeyTakeCall: number;
|
||||||
PhoneAsItem: boolean;
|
PhoneAsItem: boolean;
|
||||||
SwimDestroy: boolean;
|
SwimDestroy: boolean;
|
||||||
RunRate: number;
|
RunRate: number;
|
||||||
DestoryChance: number;
|
|
||||||
DestroyPhoneReCheck: number;
|
|
||||||
twitter: TwitterConfig;
|
twitter: TwitterConfig;
|
||||||
match: MatchConfig;
|
match: MatchConfig;
|
||||||
bank: BankConfig;
|
bank: BankConfig;
|
||||||
|
|||||||
Reference in new issue
Block a user