forked from engineering/cloudservices
add notifications
parent
97d6b8b1bb
commit
a84f63bbd0
|
@ -22,7 +22,7 @@ export default class Webhook extends Route {
|
|||
embed.setFooter(this.server.client.user.username, this.server.client.user.avatarURL);
|
||||
embed.setTimestamp();
|
||||
const chan = <TextChannel> this.server.client.getChannel('580950455581147146');
|
||||
chan.createMessage({ embed });
|
||||
chan.createMessage({ content: '<@&741797822940315650>', embed });
|
||||
return res.status(200).json({ code: this.constants.codes.SUCCESS, message: this.constants.codes.SUCCESS });
|
||||
} catch (err) {
|
||||
return this.handleError(err, res);
|
||||
|
|
Loading…
Reference in New Issue