Skip to content

Commit

Permalink
3.3.7 - prevent creating new threads in locked mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed May 28, 2023
1 parent af03bd0 commit 588f2a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modbot",
"version": "3.3.6",
"version": "3.3.7",
"description": "Discord Bot for the Aternos Discord server",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 2 additions & 0 deletions src/discord/ChannelWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export const CHANNEL_LOCK_PERMISSIONS = [
PermissionFlagsBits.SendMessages,
PermissionFlagsBits.AddReactions,
PermissionFlagsBits.SendMessagesInThreads,
PermissionFlagsBits.CreatePublicThreads,
PermissionFlagsBits.CreatePrivateThreads,
];

export default class ChannelWrapper {
Expand Down

0 comments on commit 588f2a8

Please sign in to comment.