Added message.edit(content)

This commit is contained in:
hydrabolt
2016-04-24 17:30:58 +01:00
parent 618d8bb957
commit e9d7dfaee3
7 changed files with 88 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ client.on('typingStop.', (channel, user, data) => {
client.on('message', message => {
if (message.author.username === 'hydrabolt') {
message.channel.sendMessage('test').then(msg => {
msg.delete().catch(console.log);
msg.edit('woah!');
});
}
});