/[sudobot]/trunk/src/commands/information/ProfileCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/information/ProfileCommand.ts

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

revision 280 by rakin, Mon Jul 29 17:29:21 2024 UTC revision 282 by rakin, Mon Jul 29 17:29:21 2024 UTC
# Line 75  export default class ProfileCommand exte Line 75  export default class ProfileCommand exte
75                  console.log(a);                  console.log(a);
76                                    
77                  if (a.type === 'CUSTOM') {                  if (a.type === 'CUSTOM') {
78                      activities.push(`${a.emoji?.toString() ?? ''}${a.emoji?.toString() ? ' ' : ''}${a.state}`);                      activities.push(`${a.emoji ? `${a.emoji.toString()} ` : ''}${a.state}`);
79                  }                  }
80                  else if (a.type === 'LISTENING') {                  else if (a.type === 'LISTENING') {
81                      if (a.name === 'Spotify') {                      if (a.name === 'Spotify') {

Legend:
Removed from v.280  
changed lines
  Added in v.282

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26