Skip to content

Commit

Permalink
Update commands.go
Browse files Browse the repository at this point in the history
  • Loading branch information
quackduck authored Aug 21, 2023
1 parent 42d758d commit 6a79ee9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,11 @@ func nickCMD(line string, u *User) {
}

func promptCMD(line string, u *User) {
u.Prompt = line
u.formatPrompt()

if line == "" {
MainRoom.broadcast(Devbot, "Your prompt is now empty. Did you mean to get more info about your prompt? Run man prompt for more info")
}
u.Prompt = line
u.formatPrompt()
if line == "" {
u.writeln(Devbot, "(Your prompt is now empty. Did you mean to get more info about your prompt? Run `man prompt` for more info)")
}
}

func listBansCMD(_ string, u *User) {
Expand Down

0 comments on commit 6a79ee9

Please sign in to comment.