/[sudobot]/trunk/src/services/RandomStatus.ts
ViewVC logotype

Diff of /trunk/src/services/RandomStatus.ts

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

revision 302 by rakin, Mon Jul 29 17:29:26 2024 UTC revision 344 by rakin, Mon Jul 29 17:29:40 2024 UTC
# Line 1  Line 1 
1  import { ExcludeEnum, PresenceStatusData } from "discord.js";  import { ExcludeEnum, PresenceStatusData } from "discord.js";
2  import { ActivityTypes } from "discord.js/typings/enums";  import { ActivityTypes } from "discord.js/typings/enums";
 import DiscordClient from "../client/Client";  
3  import Service from "../utils/structures/Service";  import Service from "../utils/structures/Service";
4  import { random } from "../utils/util";  import { random } from "../utils/util";
5    
# Line 22  export default class RandomStatus extend Line 21  export default class RandomStatus extend
21          this.client.config.props.status.type = type ?? 'WATCHING';          this.client.config.props.status.type = type ?? 'WATCHING';
22          this.client.config.props.status.name = name ?? 'over the server';          this.client.config.props.status.name = name ?? 'over the server';
23          this.client.config.write();          this.client.config.write();
24      }      }
25  }  }

Legend:
Removed from v.302  
changed lines
  Added in v.344

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26