If you want to manage files that are in Dropbox, you'll have to do so using the Dropbox SDK. Editorial's sync mechanism is not prepared for changes "behind its back", so you basically shouldn't ever touch synced files directly.
@dgelessus thanks that helps a lot, and makes a lot sense. I'll make sure to not use input() on version 2. Even though I was just making files to mess around with not for any real purpose. Thanks a lot for explaining it.
@iacoposk8 This would be a good use of pdb, since you could look at what you are appending each cycle in the loop. Or, just print out something in each loop such as part.shape. I wonder if this isn't just a display issue (things getting overwritten or omitted?)... have you actually checked the type/sizes of the elements in x?
I'm afraid you probably won't get many helpful responses here, because discord.py has nothing to do with Pythonista, and because Pythonista isn't the best platform to run a Discord bot on. You'll probably get more help if you ask on a site like Stack Overflow, or on a discussion site for discord.py. Maybe there is a Discord server for discord.py. :)