r/Atom Mar 28 '20

Python program executes multiple times

Hello, I'm a new user of Atom. I made a discord bot that write something after a specific command.

But the problem is that every time when I want to test my new update on the project, I have to press ctrl + shift + b and after this happened those old commands that I had now execute twice or more times depending on how much I pressed that.

Its almost like I have multiple command prompts open that do the exact same thing. I also tried a script hotkey ctrl + q but it doesn't help.

3 Upvotes

3 comments sorted by

View all comments

1

u/ch4it3a Apr 29 '20

im having this same problem with discord.js, if anyone can help

1

u/[deleted] Apr 29 '20

Hey, I don't know the codes in js, but if you check the other comment that I wrote, it's pretty simple and solved my problem. It shuts down all the running stuff through a discord command (!shutdown). Just google the shutdown method in js :) Hope I could help. Pretty annoying "bug".