replit have update another way to use .env va!!!!riable

im now making Discord bot, but how do i use the new way to use .env variable? repl.it make new update. i dont know what to enter, what to do. and plus, i have error saying

‘SyntaxError: invalid syntax’. i write:

@client.event
async def on_message(message):
  if message.author == client.user:
    return

whats wrong?

HI @finacoles2 !

Here are directions on how to use the env secrets tab in replit.

As to your syntax error, it would help to see the full code.
Please write the rest of your code in the forum, or share your replit link.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.