Skip to content

Commit 1e5c4bf

Browse files
committed
messages, uuid stop fix
1 parent 06bb7d4 commit 1e5c4bf

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

build/scripts/staffCommands.js

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

src/staffCommands.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export const commands = commandList({
242242

243243
mute_offline: {
244244
args: ["name:string?"],
245-
description: "Mutes/Unmutes an offline player.",
245+
description: "Mutes an offline player.",
246246
perm: Perm.mod,
247247
handler({args, sender, outputFail, outputSuccess, f, admins}){
248248
const maxPlayers = 60;
@@ -265,7 +265,7 @@ export const commands = commandList({
265265
if(args.name && uuidPattern.test(args.name)){
266266
const info:PlayerInfo | null = admins.getInfoOptional(args.name);
267267
if(info != null) {
268-
268+
mute(info);
269269
} else {
270270
outputFail(f`Unknown UUID ${args.name}`);
271271
}
@@ -296,7 +296,7 @@ export const commands = commandList({
296296
}
297297

298298

299-
menu("Stop", "Choose a player to mute", possiblePlayers, sender, ({option: optionPlayer, sender}) => {
299+
menu("Mute", "Choose a player to mute", possiblePlayers, sender, ({option: optionPlayer, sender}) => {
300300
mute(optionPlayer)
301301
}, true, p => p.lastName);
302302
}

0 commit comments

Comments
 (0)