CactusDev / CactusBot

An open source, community-written service-agnostic chat bot
MIT License
30 stars 6 forks source link

Edit packet #67

Closed 2Cubed closed 7 years ago

2Cubed commented 7 years ago

Packet to be used when a the content of a message changes.

2Cubed commented 7 years ago

Could potentially work as a message removal packet, as well, if the new content is None. Or we might want a separate packet for this? Not sure.

2Cubed commented 7 years ago

@Innectic Removing service:discord, because this packet is not directly related to Discord and should be generalized. (It will be used with Discord, though, of course.)

2Cubed commented 7 years ago

There's no need for a removal packet, actually - a MessagePacket passed on the remove event is sufficient.

2Cubed commented 7 years ago

EditPacket implemented in 1ebb26fd53443916ba8328450d32f77bab2a2d6f.