Skip to content

Commit

Permalink
Merge PR #249 from TheBastionBot/v6-dev
Browse files Browse the repository at this point in the history
Bastion Bot v6.13.4
  • Loading branch information
iamtraction committed Jun 10, 2018
2 parents ddbb990 + c121c3f commit 3b7172e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
12 changes: 5 additions & 7 deletions changes.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"date": "June 3, 2018",
"image": "https://i.imgur.com/356dk6S.gif",
"date": "June 10, 2018",
"image": "https://i.imgur.com/MvpZk1P.gif",
"IMPROVEMENTS": [
"`discrim` command will now show Discord user tag instead of user mentions.",
"Under-the-hood-improvements"
"`report` command will now remove your message too, and instantly! You don't need to delete your own message by yourself anymore if you wanted it removed.",
"Minor design improvements to the `pokemon` command."
],
"FIXES": [
"Fixed `streamerRole` command not showing the current Streamer Role."
]
"FIXES": []
}
5 changes: 3 additions & 2 deletions modules/moderation/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ exports.exec = async (Bastion, message, args) => {
title: 'User Reported',
description: Bastion.strings.info(message.guild.language, 'report', message.author.tag, user.tag, reason)
}
}).then(message => {
message.delete(5000).catch(() => {});
}).then(reportMessage => {
message.delete().catch(() => {});
reportMessage.delete(5000).catch(() => {});
}).catch(e => {
Bastion.log.error(e);
});
Expand Down
10 changes: 5 additions & 5 deletions modules/queries/pokemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports.exec = async (Bastion, message, args) => {

let fields = [
{
name: 'Pokédex Number',
name: 'Number',
value: pokemon.number,
inline: true
},
Expand All @@ -42,7 +42,7 @@ exports.exec = async (Bastion, message, args) => {
},
{
name: 'Types',
value: pokemon.types.join(', '),
value: pokemon.types.join('\n'),
inline: true
},
{
Expand All @@ -52,12 +52,12 @@ exports.exec = async (Bastion, message, args) => {
},
{
name: 'Egg Groups',
value: pokemon.eggGroups.join(', '),
value: pokemon.eggGroups.join('\n'),
inline: true
},
{
name: 'Gender',
value: pokemon.gender.length ? `Male: ${pokemon.gender[0]}%\nFemale: ${pokemon.gender[1]}%` : 'Genderless',
name: 'Gender Ratio',
value: pokemon.gender.length ? `${pokemon.gender[0]}:${pokemon.gender[1]}` : 'Genderless',
inline: true
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bastion",
"version": "6.13.3",
"version": "6.13.4",
"description": "Give awesome perks to your Discord server!",
"url": "https://bastionbot.org/",
"main": "index.js",
Expand Down

0 comments on commit 3b7172e

Please sign in to comment.