I have been struggling to get this to work. what i am trying is to use discord.py creating a command like this
browser_online = True
@client.command()
async def logout(ctx, *, browser_online):
browser_online = False
print(browser_online)
when i try it gives me an error saying browser_online is an argument needed
.
i have tried to put it in @client.command(browser_online)
i tried to put it in the function like this: async def logout(ctx, browser_online)
nothing seems to work, pls help