mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
Deprecate !updatecase alias for !update
This commit is contained in:
parent
5ce3e496c3
commit
f4544f5452
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ export class ModActionsPlugin extends ZeppelinPlugin<IModActionsPluginConfig> {
|
||||||
/**
|
/**
|
||||||
* Update the specified case by adding more notes/details to it
|
* Update the specified case by adding more notes/details to it
|
||||||
*/
|
*/
|
||||||
@d.command(/update|updatecase/, "<caseNumber:number> <note:string$>")
|
@d.command("update", "<caseNumber:number> <note:string$>")
|
||||||
@d.permission("can_note")
|
@d.permission("can_note")
|
||||||
async updateSpecificCmd(msg: Message, args: { caseNumber: number; note: string }) {
|
async updateSpecificCmd(msg: Message, args: { caseNumber: number; note: string }) {
|
||||||
const theCase = await this.cases.findByCaseNumber(args.caseNumber);
|
const theCase = await this.cases.findByCaseNumber(args.caseNumber);
|
||||||
|
|
Loading…
Add table
Reference in a new issue