Skip to content

Commit

Permalink
fixed gsetup for botmode (UsergeTeam#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna-Singhal authored Jan 28, 2021
1 parent 18df080 commit d7a7d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/misc/gdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ async def gsetup_(message: Message):
""" setup creds """
link = "https://theuserge.github.io/deployment.html#3-g_drive_client_id--g_drive_client_secret"
if Config.G_DRIVE_CLIENT_ID and Config.G_DRIVE_CLIENT_SECRET:
if message.chat.id == Config.LOG_CHANNEL_ID:
if message.chat.id in Config.AUTH_CHATS:
await Worker(message).setup()
else:
await message.err("try in log channel")
Expand Down

0 comments on commit d7a7d24

Please sign in to comment.