/[sudobot]/trunk/src/index.ts
ViewVC logotype

Diff of /trunk/src/index.ts

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

revision 348 by rakin, Mon Jul 29 17:29:43 2024 UTC revision 362 by rakin, Mon Jul 29 17:29:47 2024 UTC
# Line 25  if (process.argv.includes('--dev')) { Line 25  if (process.argv.includes('--dev')) {
25      process.env.ENV = 'dev';      process.env.ENV = 'dev';
26  }  }
27    
28    console.log(`ENV: ${process.env.SUDO_PREFIX}`);
29    
30  const client = new DiscordClient({  const client = new DiscordClient({
31      partials: ["CHANNEL"],      partials: ["CHANNEL"],
32      intents: [      intents: [
# Line 51  const client = new DiscordClient({ Line 53  const client = new DiscordClient({
53            
54      await client.login(process.env.TOKEN);      await client.login(process.env.TOKEN);
55      await console.log('test');      await console.log('test');
 })();  
56    })();

Legend:
Removed from v.348  
changed lines
  Added in v.362

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26