diff --git a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx index 1b2306e8..b9706fce 100644 --- a/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx +++ b/src/components/communitySettings/communityPlatforms/TcDiscordIntegrationSettingsDialog.tsx @@ -502,6 +502,27 @@ function TcDiscordIntegrationSettingsDialog({ onClick={() => handlePatchDiscordIntegrationSettings()} /> + + Need help? View our{' '} + + documentation + {' '} + or contact our{' '} + + support team + + . + {!activePlatform && ( -
- setIsOpen(false)} - /> - +
+
+ setIsOpen(false)} + /> + +
+ + Need help? View our{' '} + + documentation + {' '} + or contact our{' '} + + support team + + . +
)}
@@ -303,7 +326,7 @@ function TcDiscourse({
-
+
+ + Note: Activity in your telegram group will be analysed from + the moment you complete this setup. Previous activity can not be + analysed. + Step 1: Add the bot + + To add the bot, you must have the "Add New Admins"{' '} + privilege. +
  1. - Add @TogetherCrewBot to your - group or channel. + Add{' '} + + {isProduction + ? '@TogetherCrewBot' + : '@TogetherCrewStagingBot'} + {' '} + to your telegram group or channel.
  2. - Enable Admin Rights and disable other privileges. + Find the bot in your list of members and right click then + select promote to admin, then remove all permissions.
  3. - Press Add Bot as Admin and confirm. + In the chat of your telegram group, copy the command below to + verify the bot.
- - Note: To add the bot, you must have the "Add New Admins" - privilege. -
@@ -276,11 +289,21 @@ const TcTelegramIntegrationDialog: React.FC< )} Need help? View our{' '} - + documentation {' '} or contact our{' '} - + support team . diff --git a/src/rainbowKitConfig.ts b/src/rainbowKitConfig.ts index 1e88383c..8ecb3db3 100644 --- a/src/rainbowKitConfig.ts +++ b/src/rainbowKitConfig.ts @@ -4,7 +4,7 @@ import { http } from 'wagmi'; import { conf } from './configs'; -const isProduction = conf.IS_MAINNET === 'true'; +export const isProduction = conf.IS_MAINNET === 'true'; export const SUPPORTED_CHAINS: Chain[] = isProduction ? [arbitrum]