mods icon indicating copy to clipboard operation
mods copied to clipboard

Scheduled Event Bug

Open AvinAlwis opened this issue 4 years ago • 3 comments

Describe the bug Recently, my scheduled events have stopped working. I believe this happened after Discord started getting threads (28th of July). I have added "Send Message to Console" actions in my scheduled event and they appear on the console, but the actions that should happen on discord don't happen (no error messages either). I reinstalled DBM, updated node.js and all installed packages but I get the same behavior. As shown in the screenshot, the message to console action happens, but nothing else. The bot has all permissions (including administrator permission) in the server.

To Reproduce Steps to reproduce the behavior:

  1. Go to Events
  2. Click on Create a new Event with the Event Trigger as Scheduled Event
  3. Make any sequence of actions such as posting a message to a specific channel at midnight
  4. Add "Send Message to Console" action at start of scheduled event for debugging
  5. Notice that no action takes place after console message appears

Expected behavior Actions should be executed and not skipped

Screenshots Example Event: https://gyazo.com/405ce2298ed7561c31d08ee0187f650c Console Output: https://gyazo.com/6542f4959dd613000d7f7e046c5cf0b1

Code for One Event: { "name":"MidnightReminder", "temp":"0 23 * * *", "event-type":"Cron Scheduler", "_id":"SJbcX", "actions":[ { "tosend":"Midnight Trigger Start", "color":"#ffff00", "name":"Send Message to Console" }, { "info":"0", "find":"519874665007546379", "storage":"1", "varName":"RequestRoomID", "name":"Find Channel" }, { "info":"0", "find":"575026666322264106", "storage":"1", "varName":"Hugs&WankID", "name":"Find Channel" }, { "channel":"5", "varName":"RequestRoomID", "message":"Beep Boop\n\nHey guy's! :sunglasses:\nPlease Remember that Tagging of any kind is not permitted for the next 8h.\nIf you do need to Tag @ anyone between this time, then please PM instead. (private message).\nThank You. :blush:\n\nBeep Boop..\n\n-------------------------------------------------------------------\n\n:information_source: **__WHAT TIME IS IT__**\n(Follow instructions below to see UK time)\n\nFirst time use..\n1) b!timezone GB \n2) b!time\n\nAfter the initial setup, you only need to use \nb!time to get UK time. Thanks", "storage":"1", "varName2":"Msg1", "iffalse":"0", "iffalseVal":"", "name":"Send Message" }, { "channel":"5", "varName":"Hugs&WankID", "message":"Beep Boop\n\nHey guy's! :sunglasses:\nPlease Remember that Tagging of any kind is not permitted for the next 8h.\nIf you do need to Tag @ anyone between this time, then please PM instead. (private message).\nThank You. :blush:\n\nBeep Boop..\n\n-------------------------------------------------------------------\n\n:information_source: **__WHAT TIME IS IT__**\n(Follow instructions below to see UK time)\n\nFirst time use..\n1) b!timezone GB \n2) b!time\n\nAfter the initial setup, you only need to use \nb!time to get UK time. Thanks", "storage":"1", "varName2":"Msg2", "iffalse":"0", "iffalseVal":"", "name":"Send Message" }, { "time":"12", "measurement":"3", "name":"Wait" }, { "storage":"1", "varName":"Msg1", "reason":"", "name":"Delete Message" }, { "storage":"1", "varName":"Msg2", "reason":"", "name":"Delete Message" }, { "tosend":"Midnight Trigger End", "color":"#ffff00", "name":"Send Message to Console" } ], "temp2":"Europe/London" }

All the events shown in the Console Output have stopped working since the 28th of July without any modification to the actions.

AvinAlwis avatar Aug 06 '21 21:08 AvinAlwis

Hi, did you have find the problem? For myself i can't make it work. image

jr0w3 avatar Jan 01 '22 12:01 jr0w3

Haven't found the issue yet... Still doesn't work for me either

AvinAlwis avatar Jan 05 '22 07:01 AvinAlwis

There are no problems with this event, I have about 5 that all go through on schedule and work fine.

Thaliruth1 avatar Jul 03 '22 14:07 Thaliruth1

I am unable to replicate this issue, it works fine for me. Tested with your event.

TheMonDon avatar Jun 13 '23 12:06 TheMonDon