From 1a987562021a4c410f1b02bec9df1279b6936add Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 28 Jun 2020 20:21:06 -0400 Subject: [PATCH] Fixed undefined bug in bingo --- commands/games-mp/bingo.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-mp/bingo.js b/commands/games-mp/bingo.js index 86f15a8e..ef5b55dd 100644 --- a/commands/games-mp/bingo.js +++ b/commands/games-mp/bingo.js @@ -95,7 +95,7 @@ module.exports = class BingoCommand extends Command { this.client.games.delete(msg.channel.id); if (winner === 0) return msg.say('Everyone dropped out...'); if (!winner) return msg.say('I called the entire board, but no one called bingo...'); - return msg.say(`Congrats, ${winner.user}!`); + return msg.say(`Congrats, ${winner}!`); } catch (err) { this.client.games.delete(msg.channel.id); throw err; diff --git a/package.json b/package.json index 18307670..039d377a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "116.40.0", + "version": "116.40.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {