add notifications

merge-requests/4/head
Matthew 2020-08-08 19:22:39 -04:00
parent 97d6b8b1bb
commit a84f63bbd0
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default class Webhook extends Route {
embed.setFooter(this.server.client.user.username, this.server.client.user.avatarURL); embed.setFooter(this.server.client.user.username, this.server.client.user.avatarURL);
embed.setTimestamp(); embed.setTimestamp();
const chan = <TextChannel> this.server.client.getChannel('580950455581147146'); 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 }); return res.status(200).json({ code: this.constants.codes.SUCCESS, message: this.constants.codes.SUCCESS });
} catch (err) { } catch (err) {
return this.handleError(err, res); return this.handleError(err, res);