Skip to content

Commit

Permalink
Merge pull request #11 from JadlionHD/dev
Browse files Browse the repository at this point in the history
v0.2.1
  • Loading branch information
JadlionHD authored Oct 31, 2021
2 parents bb21644 + e753049 commit 77cff1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yuudachi-poi",
"version": "0.1.1",
"version": "0.2.1",
"description": "a discord bot",
"main": "src/app.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/commands/Information/character.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports.run = (bot, msg, args) => {
}
]
}
}
};
if(desc.length < 1023) {
msgEmbed.embed.description = desc;
} else {
Expand All @@ -43,8 +43,8 @@ module.exports.run = (bot, msg, args) => {
}).catch((error) => {
msg.channel.createMessage("There's some error poi, please try again poi");
console.log(error);
})
}
});
};

module.exports.config = {
name: "character",
Expand Down
2 changes: 1 addition & 1 deletion src/structures/Express.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const WebService = (bot) => {

app.get("/commands", (req, res) => {
res.render("commands", {client: bot.client, config: bot.config, commands: bot.commands, webUrl: {fullUrl: `https://${req.get("host")}`}});
})
});

app.listen(port, () => {
logger.log("Web service has been started!", "ready");
Expand Down

0 comments on commit 77cff1d

Please sign in to comment.