File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ import { saveSetting } from "../components/services/settings";
33import log from "../components/utils/log" ;
44
55export 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
1414export default async function ( msg : Message ) {
15- const query = msg . body . replace ( / ^ r e c e n t u n s e n t \b \s * / i, "" ) . trim ( ) ;
15+ const query = msg . body . replace ( / ^ r e s e n t u n s e n t \b \s * / i, "" ) . trim ( ) ;
1616 if ( query . length === 0 && ! / ( o n | o f f ) / . test ( query ) ) {
1717 await msg . reply ( "Please provide a value its either on or off." ) ;
1818 return ;
You can’t perform that action at this time.
0 commit comments