Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Added chat response to !sync command
Browse files Browse the repository at this point in the history
  • Loading branch information
roughnecks committed Mar 26, 2019
1 parent f2d5707 commit 784fcf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ zed.manager._steam.on('friendMessage', function (steamID, message) {
else if (message === "!sync" && steamID.getSteamID64() === zed.config.ownerSteamID64) {
console.log('!sync request received.');
zed.db.syncInventoryWithDb();
zed.manager._steam.chatMessage(steamID, 'On it. Check your console');
}
else {
zed.manager._steam.chatMessage(steamID, 'I don\'t understand any other command but "!help", "!sign" and "!lottery" (so far).');
Expand Down

0 comments on commit 784fcf8

Please sign in to comment.