Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Add embed say command
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Ray committed Sep 25, 2018
1 parent 22759c6 commit 523a638
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/LICENSE

This file was deleted.

26 changes: 26 additions & 0 deletions commands/embed.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
const Discord = require('discord.js')

exports.run = (client, message, args) => {
const embed = new Discord.RichEmbed()
.setFooter(client.user.username, client.user.avatarURL)
.setDescription(args.join(" "))
.setTimestamp()

message.delete()
message.channel.send(embed)
}

exports.conf = {
enabled: true,
guildOnly: true,
aliases: [],
permLevel: "Server Moderator"
};

exports.help = {
name: "embed",
category: "Fun",
description: "Sends an embed, like a say command. But with an embed.",
usage: "embed [...text]"
};

0 comments on commit 523a638

Please sign in to comment.