Skip to content

Commit a0cc1de

Browse files
committed
feat: address spelling issues
1 parent c893d76 commit a0cc1de

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/commands/resentunsend.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ import { saveSetting } from "../components/services/settings";
33
import log from "../components/utils/log";
44

55
export const info = {
6-
command: "recentunsent",
6+
command: "resentunsent",
77
description: "Enable/disable automatically resending of unsend messages.",
8-
usage: "recentunsent <on|off>",
9-
example: "recentunsent on",
8+
usage: "resentunsent <on|off>",
9+
example: "resentunsent on",
1010
role: "admin",
1111
cooldown: 5000,
1212
};
1313

1414
export default async function (msg: Message) {
15-
const query = msg.body.replace(/^recentunsent\b\s*/i, "").trim();
15+
const query = msg.body.replace(/^resentunsent\b\s*/i, "").trim();
1616
if (query.length === 0 && !/(on|off)/.test(query)) {
1717
await msg.reply("Please provide a value its either on or off.");
1818
return;

0 commit comments

Comments
 (0)