disable /say command in DM
This commit is contained in:
parent
ff5882730d
commit
0e4329492e
2 changed files with 3 additions and 10 deletions
|
@ -49,7 +49,8 @@ export const reuploadCommands = async () => {
|
|||
.setDescription('Just content?')
|
||||
.setRequired(true)
|
||||
)
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers),
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
|
||||
.setDMPermission(false),
|
||||
new SlashCommandBuilder().setName('joke').setDescription("it's a joke"),
|
||||
].map((command) => command.toJSON());
|
||||
|
||||
|
|
10
src/index.ts
10
src/index.ts
|
@ -66,15 +66,7 @@ client.once('ready', async () => {
|
|||
|
||||
const mcVersion = await getLatestMinecraftVersion();
|
||||
client.user?.presence.set({
|
||||
activities: [
|
||||
{
|
||||
name: `Minecraft ${mcVersion}${
|
||||
mcVersion === '1.19.1' || mcVersion === '1.19.2'
|
||||
? ' w/ No Chat Reports'
|
||||
: ''
|
||||
}`,
|
||||
},
|
||||
],
|
||||
activities: [{ name: `Minecraft ${mcVersion}` }],
|
||||
status: 'online',
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue