Skip to content
Snippets Groups Projects
Commit f0dc5705 authored by Reviath's avatar Reviath
Browse files

Update commands/help-server.js, commands/help.js, commands/hug.js files

parent 31c341b1
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,9 @@ const Discord = require("discord.js");
exports.run = async (client, message, args) => {
const yardım2 = new Discord.MessageEmbed()
.setColor(0x36393e)
.setAuthor(`Weasht`, client.user.avatarURL({dynamic : true, size: 4096}))
.setAuthor(message.author.username, message.author.avatarURL())
.setThumbnail(client.user.avatarURL({dynamic : true, size: 4096}))
.addField("Links", `[Our Guild](https://discord.gg/NCzZdB9Etf) \n[Invite Link](https://discordapp.com/oauth2/authorize?client_id=771043242242342962&scope=bot&permissions=8)`)
.addField("Links", `[Our Guild](https://discord.gg/a6Qy3WEtMK) \n[GitLab](https://git.randomchars.net/Reviath/weasht) \n[Invite Link](https://discordapp.com/oauth2/authorize?client_id=${client.user.id}&scope=bot&permissions=8)`)
message.channel.send(yardım2)
};
module.exports.help = {
......
......@@ -5,7 +5,7 @@ const category = args[0]
if(!category) {
const helpembed = new Discord.MessageEmbed()
.setAuthor(message.author.username, message.author.avatarURL())
.setDescription('Weasht Help Menu')
.setDescription(`${client.user.username} Help Menu`)
.addField('<a:red_star:801039507385483306> Moderator Commands <a:red_star:801039507385483306>','Type `*help moderator` to see moderator commands')
.addField('<a:red_star:801039507385483306> User Commands <a:red_star:801039507385483306>','Type `*help user` to see user commands')
.addField('<a:red_star:801039507385483306> Fun Commands <a:red_star:801039507385483306>','Type `*help fun` to see fun commands')
......
......@@ -3,7 +3,7 @@ const Discord = require('discord.js');
exports.run = (client, message) => {
let opponent = message.mentions.users.first()
if (message.mentions.users.size < 1) return message.channel.send('<a:x_:801038779955150888> Who do you want to hug')
if (opponent.id === message.author.id) return message.channel.send('You can\'t hug yourself').catch(console.error);
if (opponent.id === message.author.id) return message.channel.send('You can\'t hug yourself')
const embed = new Discord.MessageEmbed()
.setColor(0xff0000)
.setDescription(`${message.author} hugs ${message.mentions.members.first()}`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment