Commit graph

5 commits

Author SHA1 Message Date
Elliot Williams
00db80a651
feat(MessageReference): add Type (#1595)
https://discord.com/developers/docs/resources/message#message-reference-types
2025-03-04 12:44:35 +03:00
post
4f55d76981
update Activity struct and add emoji functions (#895)
* update Activity struct and add emoji functions

* fix the emoji regex

* Remove inline type definitions

* Change function name

* fix message_test function name

* make custom unmarshaljson and change `CreatedAt` to `time.Time`

* fix

Co-authored-by: post <61803796+postrequest69@users.noreply.github.com>
2021-04-10 16:17:16 -04:00
Eugene
82be39a218
Remove redundant line
s.StateEnabled variable already set to true above
2018-07-25 12:00:40 +03:00
Wim
ffa9956c9b Fix role mention replacement (#509)
* Fix role mention replacement

* Fix message test too
2018-02-14 15:05:22 -08:00
legolord208
5a02430c02 ContentWithMoreMentionsReplaced for roles and nicks (Fixes #208) (#375)
* ContentWithMentionReplaced on roles and nicks (Fixes #208)

* Compatibility

* Like this? 🤔

* More efficient regexp

* Tweaked a little

* Tweaked a little more

* Tweaked even more

* Removed unessecary crap condition that is useless

* Disallow voice channel

* Moved regexp declaration
2017-06-13 08:49:41 -07:00