changes or whateva
parent
6e6ab615f1
commit
458b7c9788
|
@ -22,7 +22,7 @@ export default class Webhook extends Route {
|
||||||
embed.addField('Summary', req.body.summary);
|
embed.addField('Summary', req.body.summary);
|
||||||
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('780513128240382002');
|
||||||
chan.createMessage({ content: '<@&741797822940315650>', 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) {
|
||||||
|
|
Loading…
Reference in New Issue