fix/UpdatePlayer interaction undefined
This commit is contained in:
1 parent
17ce345101
commit
c88a98f3b5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ module.exports = {
|
|||||||
{ upsert: true }, // Create player stat document if it does not exist
|
{ upsert: true }, // Create player stat document if it does not exist
|
||||||
(err, _) => {
|
(err, _) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
if (intearction == null) return client.error(err);
|
if (interaction == null) return client.error(err);
|
||||||
else return client.sendInternalError(interaction, err);
|
else return client.sendInternalError(interaction, err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayzr-bot",
|
"name": "dayzr-bot",
|
||||||
"version": "12.5.9",
|
"version": "12.5.10",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user