vsTerminus / Mojo-Discord

Perl Modules that implement parts of the Discord API. Intended for Text Chat Bots.
MIT License
33 stars 10 forks source link

Add edit and delete #5

Closed Disinterpreter closed 6 years ago

Disinterpreter commented 7 years ago

I made two methods: edit_message & delete_message. Syntax: edit_message(channelid, messageid, newtext); delete_message(channelid, messageid);

example:

$discord->edit_message($channel, '310401902074658817', 'Hey');
$discord->delete_message($channel, '310405499956887562');
vsTerminus commented 7 years ago

Just wanted you to know I have merged this locally. It will be included in the next push to github.

Thank you!

Disinterpreter commented 7 years ago

@vsTerminus ok, can i develop methods for Reactons and etc?