Compare commits
No commits in common. "df8e98a7961803dc90414744a76c7b793bcb0013" and "a477928374475a349f015f33c414eedff046b61b" have entirely different histories.
df8e98a796
...
a477928374
3 changed files with 6 additions and 16 deletions
|
@ -1,6 +1,7 @@
|
||||||
const Command = require('../../base/Command.js');
|
const Command = require('../../base/Command.js');
|
||||||
const { version } = require('discord.js');
|
const { version } = require('discord.js');
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
|
const { EmbedBuilder } = require('@discordjs/builders');
|
||||||
require('moment-duration-format');
|
require('moment-duration-format');
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,8 +23,9 @@ module.exports = class About extends Command {
|
||||||
build = 'development';
|
build = 'development';
|
||||||
}
|
}
|
||||||
|
|
||||||
const embed = new client.EmbedBuilder()
|
embed = new EmbedBuilder()
|
||||||
.setThumbnail(client.user.avatarURL({format: "png"}))
|
.setColor(client.functions.embedColor(interaction.guild)
|
||||||
|
.setThumbnail(client.user.vatarURL({format: "png"}))
|
||||||
.setTitle('About me!')
|
.setTitle('About me!')
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
|
@ -40,8 +42,8 @@ module.exports = class About extends Command {
|
||||||
name: 'Links',
|
name: 'Links',
|
||||||
value: '[Support](https://discord.gg/HCF8mdv) | [Git](https://gitdab.com/embee/woomy)'
|
value: '[Support](https://discord.gg/HCF8mdv) | [Git](https://gitdab.com/embee/woomy)'
|
||||||
}
|
}
|
||||||
]);
|
])
|
||||||
interaction.reply({embeds: embed});
|
interaction.reply({embeds: embed})
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
11
package-lock.json
generated
11
package-lock.json
generated
|
@ -17,7 +17,6 @@
|
||||||
"eslint": "^8.29.0",
|
"eslint": "^8.29.0",
|
||||||
"fs-readdir-recursive": "^1.1.0",
|
"fs-readdir-recursive": "^1.1.0",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"moment-duration-format": "^2.3.2",
|
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"pg": "^8.5.1",
|
"pg": "^8.5.1",
|
||||||
"pg-format": "^1.0.4",
|
"pg-format": "^1.0.4",
|
||||||
|
@ -1052,11 +1051,6 @@
|
||||||
"node": "*"
|
"node": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/moment-duration-format": {
|
|
||||||
"version": "2.3.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/moment-duration-format/-/moment-duration-format-2.3.2.tgz",
|
|
||||||
"integrity": "sha512-cBMXjSW+fjOb4tyaVHuaVE/A5TqkukDWiOfxxAjY+PEqmmBQlLwn+8OzwPiG3brouXKY5Un4pBjAeB6UToXHaQ=="
|
|
||||||
},
|
|
||||||
"node_modules/ms": {
|
"node_modules/ms": {
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
@ -2534,11 +2528,6 @@
|
||||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
|
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
|
||||||
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
|
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
|
||||||
},
|
},
|
||||||
"moment-duration-format": {
|
|
||||||
"version": "2.3.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/moment-duration-format/-/moment-duration-format-2.3.2.tgz",
|
|
||||||
"integrity": "sha512-cBMXjSW+fjOb4tyaVHuaVE/A5TqkukDWiOfxxAjY+PEqmmBQlLwn+8OzwPiG3brouXKY5Un4pBjAeB6UToXHaQ=="
|
|
||||||
},
|
|
||||||
"ms": {
|
"ms": {
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
"eslint": "^8.29.0",
|
"eslint": "^8.29.0",
|
||||||
"fs-readdir-recursive": "^1.1.0",
|
"fs-readdir-recursive": "^1.1.0",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"moment-duration-format": "^2.3.2",
|
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"pg": "^8.5.1",
|
"pg": "^8.5.1",
|
||||||
"pg-format": "^1.0.4",
|
"pg-format": "^1.0.4",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue