Skip to content

Commit

Permalink
Set version to 1.3.1, moved releases.json from data to root.
Browse files Browse the repository at this point in the history
  • Loading branch information
Agadar committed Aug 15, 2017
1 parent 454c4bc commit 72752c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dank-times-bot",
"version": "1.3.0",
"version": "1.3.1",
"description": "This Telegram bot keeps track of 'dank' times such as 13:37 and 04:20, and awards points to users who call them out.",
"main": "built/main.js",
"scripts": {
Expand Down
File renamed without changes.
6 changes: 1 addition & 5 deletions src/util/file-io.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* Exposes file I/O related functions for DankTimesBot.
*/

import * as fs from "fs";
import { BasicChat } from "../chat/basic-chat";
import { Chat } from "../chat/chat";
Expand All @@ -14,7 +10,7 @@ const backupFile = dataFolder + "/backup.json";
const configFile = dataFolder + "/config.json";
// settings.json is deprecated, using config.json instead. Here for backwards compatibility.
const settingsFile = dataFolder + "/settings.json";
const releasesFile = dataFolder + "/releases.json";
const releasesFile = "./releases.json";
const apiKeyEnvKey = "DANK_TIMES_BOT_API_KEY";
const jsonIndentation = 2;

Expand Down

0 comments on commit 72752c0

Please sign in to comment.