0. How to write code
Code area
After setting the scheduler type, you will see an empty code area. You can write your own code in this area, and once the bot runs, it will execute the code for each time scheduled by the scheduler type.
When the code is actually executed, it will be wrapped like below, so that the methods and functions called in the code work properly.
Be aware that import
is not allowed in your code.
After running your code, the variables will not be preserved in the memory. In other words, the variables saved at the end of the previous schedule are not accessible at the beginning of the next schedule.
Last updated