Skip to content

Commit d44350c

Browse files
authored
v1.6.0: various features and fixes (#23)
* fix issue where twitch clips wouldnt properly display download link * display a replied to message if it exists * update dependencies * fix issue with data.content not appending reply msg correctly * have author link redirect to author profile page * oops wrong message reference * change how message length checking works, and display all attachments * check for bot embed messages * update version to 1.6.0 * add ability to have auto generated hex codes per channel * update README.md * smol change to how hex color is generated * msg.channel.id is a string
1 parent e0ed5bc commit d44350c

File tree

4 files changed

+125
-92
lines changed

4 files changed

+125
-92
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ After creating your bot and cloning the repository, the only setup that needs to
3131
| **reactionEmoji** | String | the emoji you want the bot to listen to. For default emojis, use the literal emoji. To easily obtain this, you can put a `\` infront of any emoji name like `\:star:` in discord (which would create ⭐). For custom emojis, simply put the exact name like `moon2SMUG`. |
3232
| **embedEmoji** | String | the emoji (Or any other piece of text) displayed at the bottom of the embeds in the starboard channel. |
3333
| **threshhold** | Integer | the amount of reactions it takes for a message to be posted to the starboard. |
34-
| **hexcolor** | String | the color of the embed in hex. |
34+
| **hexcolor** | String | the color of the embed in hex. if null, this value is generated from an incoming message's channel ID (unique color code per channel). |
3535
| **dateCutoff** | Integer | how old a message can be, in days, and still be tracked by the bot. if you don't want really old messages getting posted, then keep this number low. |
3636
| **fetchLimit** | Integer | how many messages from the starboard channel will be loaded in memory. This lets the script know what messages have already been posted. It's recommended to change this with respect to `dateCutoff` and how big your server is. Anything that isn't tracked has the possibility of getting double posted. |
3737

package-lock.json

Lines changed: 77 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "starboard",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"description": "discord bot for creating a starboard in a server",
55
"main": "src/index.js",
66
"scripts": {
@@ -10,7 +10,7 @@
1010
"author": "Rushnett",
1111
"license": "MIT",
1212
"dependencies": {
13-
"discord.js": "^14.1.2",
13+
"discord.js": "^14.3.0",
1414
"mariadb": "^2.5.4",
1515
"node-fetch": "^3.1.1",
1616
"sequelize": "^6.3.5",

0 commit comments

Comments
 (0)