mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 12:17:37 +00:00
chore: update desc of variables (#101)
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ const notifications = {
|
||||
},
|
||||
playSound: process.env.PLAY_SOUND ?? '',
|
||||
pushover: {
|
||||
token: process.env.PUSHOVER_TOKEN,
|
||||
user: process.env.PUSHOVER_USER
|
||||
token: process.env.PUSHOVER_TOKEN ?? '',
|
||||
user: process.env.PUSHOVER_USER ?? ''
|
||||
},
|
||||
slack: {
|
||||
channel: process.env.SLACK_CHANNEL ?? '',
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import playerLib = require('play-sound');
|
||||
import playerLib from 'play-sound';
|
||||
import {Config} from '../config';
|
||||
import {Logger} from '../logger';
|
||||
import * as fs from 'fs';
|
||||
import fs from 'fs';
|
||||
|
||||
const notificationSound = './resources/sounds/' + Config.notifications.playSound;
|
||||
const notificationSound = Config.notifications.playSound;
|
||||
const player = playerLib();
|
||||
|
||||
export function playSound() {
|
||||
|
||||
Reference in New Issue
Block a user