/[sudobot]/trunk/commands/kick.js
ViewVC logotype

Diff of /trunk/commands/kick.js

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

revision 25 by rakin, Mon Jul 29 17:28:16 2024 UTC revision 37 by rakin, Mon Jul 29 17:28:18 2024 UTC
# Line 60  module.exports = { Line 60  module.exports = {
60              }              }
61    
62                            
63              await History.create(user.id, msg.guild, 'kick', msg.author.id, async (data2) => {              await History.create(user.id, msg.guild, 'kick', msg.author.id, typeof raeson.reason === 'undefined' ? null : reason.reason, async (data2) => {
64                  await user.kick(reason);                  await user.kick(reason);
65              });              });
66          }          }

Legend:
Removed from v.25  
changed lines
  Added in v.37

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26