diff --git a/README.md b/README.md index 3145095..1bd00b7 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Here are the currently valid contract names. - (optional) key: `"tokenIdTriggers"`: - value: object: - key: [Bot ID](#bot-id) - - value: length-2 array defining range of token IDs that trigger artbot to use the project bot. e.g. [555, null] means all tokens >= 555 should use the project bot defined in key. [100, 200] means all tokens from 100 to 200 should use the project bot bot defined in key. + - value: length-2 array defining range of token IDs that trigger artbot to use the project bot. e.g. [555, null] means all tokens >= 555 should use the project bot defined in key. [100, 200] means all tokens from 100 to 200 should use the project bot defined in key. ### Optional Configuration diff --git a/src/ProjectConfig/projectConfig.ts b/src/ProjectConfig/projectConfig.ts index d12e825..de55b7b 100644 --- a/src/ProjectConfig/projectConfig.ts +++ b/src/ProjectConfig/projectConfig.ts @@ -154,7 +154,7 @@ export class ProjectConfig { const projectBots: { [key: string]: ProjectBot } = {} // Loops over channelsJson and adds all project IDs to a set of bots that - // need to be instatiated. + // need to be instantiated. const botsToInstatiate = new Set() Object.keys(channelsJson).forEach((channel) => { const projectBotHandlers = channelsJson[channel].projectBotHandlers @@ -178,7 +178,7 @@ export class ProjectConfig { }) }) - // This loops through all bots that need to be instatiated asynchronously, + // This loops through all bots that need to be instantiated asynchronously, // gets the relevant configuration from projectBotsJson, calls the subgraph // to get project information, and then initializes the project bot. console.log(