/[sudobot]/trunk/src/App.js
ViewVC logotype

Diff of /trunk/src/App.js

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

revision 22 by rakin, Mon Jul 29 17:28:15 2024 UTC revision 23 by rakin, Mon Jul 29 17:28:15 2024 UTC
# Line 10  const SpamFilter = require("./SpamFilter Line 10  const SpamFilter = require("./SpamFilter
10  const server = require("./server");  const server = require("./server");
11  const AntiRaid = require("./AntiRaid");  const AntiRaid = require("./AntiRaid");
12  const MessageFilter = require("./MessageFilter");  const MessageFilter = require("./MessageFilter");
13    const { random } = require("../commands/pixabay");
14    
15  class App {  class App {
16      constructor(rootdir) {      constructor(rootdir) {
# Line 43  class App { Line 44  class App {
44      boot() {      boot() {
45          this.on('ready', () => {          this.on('ready', () => {
46              console.log("Logged in as " + this.client.user.tag);              console.log("Logged in as " + this.client.user.tag);
47    
48                this.client.user.setStatus(random(['dnd', 'idle']));
49                this.client.user.setActivity("over the server", { type: "WATCHING" });
50    
51              server();              server();
52          });          });
53    

Legend:
Removed from v.22  
changed lines
  Added in v.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26