/[sudobot]/trunk/src/commands/settings/SetStatusCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/settings/SetStatusCommand.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 71 by rakin, Mon Jul 29 17:28:28 2024 UTC revision 301 by rakin, Mon Jul 29 17:29:26 2024 UTC
# Line 40  export default class SetStatusCommand ex Line 40  export default class SetStatusCommand ex
40          else {          else {
41              activity = options.args.join(' ');              activity = options.args.join(' ');
42          }          }
43            
44          await client.randomStatus.update(activity, type, status);          await client.randomStatus.config(activity, type);
45            await client.randomStatus.update(status);
46    
47          await message.reply({          await message.reply({
48              content: (await fetchEmoji('check'))?.toString() + ' Status updated.'              content: (await fetchEmoji('check'))?.toString() + ' Status updated.'

Legend:
Removed from v.71  
changed lines
  Added in v.301

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26