Parent Directory
|
Revision Log
|
Patch
revision 5 by rakin, Mon Jul 29 17:28:11 2024 UTC | revision 29 by rakin, Mon Jul 29 17:28:17 2024 UTC | |
---|---|---|
# | Line 14 module.exports = { | Line 14 module.exports = { |
14 | return; | return; |
15 | } | } |
16 | ||
17 | let snippet = cm.snippetManager.find(cm.args[0]); | let snippet = cm.snippetManager.find(msg.guild.id, cm.args[0]); |
18 | ||
19 | if (snippet) { | if (snippet) { |
20 | cm.snippetManager.delete(snippet.name); | cm.snippetManager.delete(msg.guild.id, snippet.name); |
21 | cm.snippetManager.create(cm.args[1], snippet.content); | cm.snippetManager.create(msg.guild.id, cm.args[1], snippet.content); |
22 | ||
23 | await msg.reply({ | await msg.reply({ |
24 | embeds: [ | embeds: [ |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |