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

Diff of /trunk/commands/note.js

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

revision 11 by rakin, Mon Jul 29 17:28:13 2024 UTC revision 25 by rakin, Mon Jul 29 17:28:16 2024 UTC
# Line 1  Line 1 
1    const History = require("../src/History");
2  const MessageEmbed = require("../src/MessageEmbed");  const MessageEmbed = require("../src/MessageEmbed");
3    
4  module.exports = {  module.exports = {
# Line 42  module.exports = { Line 43  module.exports = {
43    
44              return;              return;
45          }          }
46            
47          this.note(user, content, msg);          await History.create(user.id, msg.guild, 'note', msg.author.id, async (data2) => {
48                this.note(user, content, msg);
49            });
50    
51          await msg.reply({          await msg.reply({
52              embeds: [              embeds: [

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26