Skip to content
Advertisement

missing 1 required positional argument: ‘loop’

JavaScript

I am struggling with incorporating threading into my tkinter program. This program is basically a discord bot that you are able to start, restart and other various things through a gui application. I realised that i need to incorporate threading into my tkinter gui in order to be able to use different buttons in the gui as the bot is active but the program keeps giving me the error in the title

Advertisement

Answer

I think your click function should be like this:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement