Skip to content

Commit

Permalink
fix: roles have different structure in text!
Browse files Browse the repository at this point in the history
they are <@&[role_id]>
  • Loading branch information
amindadgar committed Dec 20, 2023
1 parent 5c55642 commit 838ce68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_transform_two_data(self):
data = {
"type": 19,
"author": "112",
"content": "mentioning <@113> <@114> <@101>",
"content": "mentioning <@113> <@114> <@&101>",
"user_mentions": ["113", "114"],
"role_mentions": ["101"],
"reactions": [],
Expand Down

0 comments on commit 838ce68

Please sign in to comment.