Skip to content

Commit

Permalink
update for core getObjectTag update
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 18, 2019
1 parent 4395456 commit 4c78993
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -201,13 +201,13 @@ public void execute(ScriptEntry scriptEntry) {
ElementTag id = scriptEntry.getElement("id");
ElementTag instruction = scriptEntry.getElement("instruction");
ElementTag code = scriptEntry.getElement("code"); // Intentionally do not debug this value.
DiscordChannelTag channel = scriptEntry.getdObject("channel");
DiscordChannelTag channel = scriptEntry.getObjectTag("channel");
ElementTag message = scriptEntry.getElement("message");
ElementTag status = scriptEntry.getElement("status");
ElementTag activity = scriptEntry.getElement("activity");
DiscordUserTag user = scriptEntry.getdObject("user");
DiscordGroupTag guild = scriptEntry.getdObject("group");
DiscordRoleTag role = scriptEntry.getdObject("role");
DiscordUserTag user = scriptEntry.getObjectTag("user");
DiscordGroupTag guild = scriptEntry.getObjectTag("group");
DiscordRoleTag role = scriptEntry.getObjectTag("role");
ElementTag url = scriptEntry.getElement("url");

// Debug the execution
Expand Down

0 comments on commit 4c78993

Please sign in to comment.