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

Added issue command.

parent 748d377b
Branches
Tags
No related merge requests found
const Discord = require('discord.js');
const errors = require('../errors.json');
exports.run = async (client, message, args, connection) => {
const embed = new Discord.MessageEmbed()
.setDescription('Click [here](https://git.randomchars.net/Reviath/byakuren/-/issues/new) to open an issue on GitLab')
.setColor("RANDOM");
message.channel.send(embed).catch(e => {
message.channel.send(errors.cannot_send_embed).catch(e => {
return;
});
return;
});
};
module.exports.help = {
name: 'issue',
aliases: ['gitlab']
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment