-
-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bastion Bot v6.4.0
- Loading branch information
Showing
33 changed files
with
758 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
{ | ||
"date": "December 15, 2017", | ||
"date": "December 29, 2017", | ||
"fixed": [ | ||
"`createChannel` command will now work as expected.", | ||
"`serverInfo` will work even if your server has huge no. of emojis.", | ||
"`streamerRole` will show a friendly error if no streamer role was set, rather than being unresponsive.", | ||
"Killed the bugs that caused Bastion not to recognize uncached users and not respond to them.", | ||
"Under-the-hood fixes" | ||
"`deleteChannel` will now work as expected.", | ||
"Fixed module name case sensitivity for `commands` command. You can now pass the module name in mixed cases.", | ||
"A command in every module was hiding *below the fold*, won't happen anymore. Every command is now displayed *ATF* (with colors).", | ||
"Under-the-hood changes" | ||
], | ||
"improved": [ | ||
"`help` command won't suggest you to join the Bastion Discord Server if you use it in the Bastion Discord Server, it didn't made sense.", | ||
"Rewritten `commands` command. `commands` will show the list of modules by default, specifying a module with the command will show the list of commands in that module.", | ||
"Nifty changes to the `changeLog` command. Didn't you notice it already?", | ||
"Meld `leaderboard` and `hallOfFame` commands!", | ||
"Under-the-hood improvements" | ||
"`roleColor` can now be used with `roleColour` too", | ||
"Bastion will now message the user personally after they have won the giveaway.", | ||
"User permission in command help are now clearer.", | ||
"Patrons and Donators (donating via PayPal) can now *get up to 15x more Bastion Currencies* when using the `daily` command." | ||
], | ||
"added": [], | ||
"removed": [ | ||
"Still having the `hallOfFame` command after melding it with `leaderboard` command was useless." | ||
"added": [ | ||
"Hey Garfield lovers, try the new `garfield` command for a cool garfield comic.", | ||
"Added `destiny2` command for all gamers playing Destiny 2. Check out your and your stats right in Discord.", | ||
"Added `pokemon` command for all those Pokémon fans. You can now get information on any Pokémon you want.", | ||
"Added `coinMarketCap` command. Keep tabs on the market capitalization of various cryptocurrencies.", | ||
"Easily see what permission Bastion has in a channel/server using the new `checkPermissions` command.", | ||
"Added `giveXP` command so that bot owners can give experience points to anyone they want and increase their level anytime they want. Because they do what they want to do.", | ||
"Use the all new `userLookup` command to fetch basic information about a user from Discord, works for ANY (yeah, ANY) Discord user.", | ||
"**Animated emoji!** Shake your booties, because you can now use the `animoji` command to use the animated emojis of your server. Oh yeah, anyone can use it, Nitro isn't required." | ||
], | ||
"removed": [], | ||
"issues": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
* @file animoji command | ||
* @author Sankarsan Kampa (a.k.a k3rn31p4nic) | ||
* @license MIT | ||
*/ | ||
|
||
exports.exec = (Bastion, message, args) => { | ||
if (!args.name) { | ||
/** | ||
* The command was ran with invalid parameters. | ||
* @fires commandUsage | ||
*/ | ||
return Bastion.emit('commandUsage', message, this.help); | ||
} | ||
|
||
let emoji = message.guild.emojis.find('name', args.name); | ||
|
||
if (emoji) { | ||
message.channel.send({ | ||
files: [ emoji.url.replace(/\.png$/, '.gif') ] | ||
}).catch(() => {}); | ||
} | ||
}; | ||
|
||
exports.config = { | ||
aliases: [ 'animote' ], | ||
enabled: true, | ||
argsDefinitions: [ | ||
{ name: 'name', type: String, defaultOption: true } | ||
] | ||
}; | ||
|
||
exports.help = { | ||
name: 'animoji', | ||
botPermission: '', | ||
userTextPermission: 'ADD_REACTIONS', | ||
userVoicePermission: '', | ||
usage: 'animoji <ANIMATED_EMOJI_NAME>', | ||
example: [ 'animoji PartyWumpus' ] | ||
}; |
Oops, something went wrong.