Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperManifolds committed Sep 21, 2022
2 parents d15b0a5 + 54ac1ac commit f4474e6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Sources/mechasqueak/Modules/BoardCommands.swift
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,7 @@ class BoardCommands: IRCBotModule {
permission: .RescueReadOwn,
cooldown: .seconds(300)
)
var didReceiveQuietCommand = { command in
if command.message.user.account == "TobyCharles" {
command.message.reply(message: "Toby has been banned from using !last")
return
}
var didReceiveQuietCommand = {
var arguments = command.arguments
var platforms = command.arguments.compactMap({ GamePlatform(rawValue: $0.key) })
guard platforms.count < 2 else {
Expand Down Expand Up @@ -507,7 +503,7 @@ class BoardCommands: IRCBotModule {
[.param("case id/client", "4"), .param("number", "1")],
category: .board,
description: "Correct the system of a case to one of the options provided by the system correction search.",
permission: .RescueWriteOwn,
permission: .DispatchWrite,
allowedDestinations: .Channel
)
var didReceiveSystemCorrectionCommand = { command in
Expand Down

0 comments on commit f4474e6

Please sign in to comment.