/[sudobot]/trunk/src/commands/moderation/ShotCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/moderation/ShotCommand.ts

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

revision 335 by rakin, Mon Jul 29 17:28:59 2024 UTC revision 336 by rakin, Mon Jul 29 17:29:36 2024 UTC
# Line 93  export default class ShotCommand extends Line 93  export default class ShotCommand extends
93                  guild_id: msg.guild!.id,                  guild_id: msg.guild!.id,
94                  mod_id: msg.member!.user.id,                  mod_id: msg.member!.user.id,
95                  mod_tag: (msg.member!.user as User).tag,                  mod_tag: (msg.member!.user as User).tag,
96                  reason                  reason,
97                    createdAt: new Date()
98              });              });
99    
100              // await History.create(user.id, msg.guild!, 'bean', msg.member!.user.id, typeof reason === 'undefined' ? null : reason);              // await History.create(user.id, msg.guild!, 'bean', msg.member!.user.id, typeof reason === 'undefined' ? null : reason);

Legend:
Removed from v.335  
changed lines
  Added in v.336

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26