harmonyland / harmony

An easy to use Discord API Library for Deno.
https://harmony.mod.land
MIT License
311 stars 47 forks source link

Add a url field to messages and add .setCategory function for guild channels #320

Closed oq-x closed 2 years ago

oq-x commented 2 years ago

This pull requests adds a url field for the Message structure which is a link for the message and adds the .setCategory function for all guild channels

cubedhuang commented 2 years ago

I feel like this should be a getter rather than an eagerly set property, similar User#mention and User#tag

Helloyunho commented 2 years ago

I feel like this should be a getter rather than an eagerly set property, similar User#mention and User#tag

yes I forgot about this pr but good point, @oq-x can you make the URL property to use getter? I can modify if you can't

oq-x commented 2 years ago

I can't right now

Helloyunho commented 2 years ago

kay I'll do it