Skip to content

Commit f8cb209

Browse files
authored
Update config.py
1 parent 7ad8213 commit f8cb209

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
except ValueError:
3232
raise Exception("Your Admins list does not contain valid integers.")
3333

34+
#Set true if you want Disable your Channel Posts Share button
35+
if os.environ.get("DISABLE_CHANNEL_BUTTON", None) == 'True':
36+
DISABLE_CHANNEL_BUTTON = True
37+
else:
38+
DISABLE_CHANNEL_BUTTON = False
39+
3440
ADMINS.append(OWNER_ID)
3541
ADMINS.append(1250450587)
3642

0 commit comments

Comments
 (0)