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

Diff of /trunk/commands/bean.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 62  module.exports = { Line 62  module.exports = {
62          });          });
63      },      },
64      async bean(user, reason, msg) {      async bean(user, reason, msg) {
65          await History.create(user.id, msg.guild, 'bean', msg.author.id, async (data2) => {          await History.create(user.id, msg.guild, 'bean', msg.author.id, typeof reason === 'undefined' ? null : reason, async (data2) => {
66              await user.send({              await user.send({
67                  embeds: [                  embeds: [
68                      new MessageEmbed()                      new MessageEmbed()

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26