-
-
Notifications
You must be signed in to change notification settings - Fork 488
Open
Labels
StaleIssue or pull request has been inactive for 20 daysIssue or pull request has been inactive for 20 days
Description
Describe the Bug
Trying to use reddit.subreddit.message to send a modmail message no longer works.
Desired Result
Sending a mod mail.
Code to reproduce the bug
sub = reddit.subreddit("yoursubreddit")
sub.message(subject="Test Message", message="Test Message")My code does not include sensitive credentials
- Yes, I have removed sensitive credentials from my code.
Relevant Logs
praw.exceptions.RedditAPIException: USER_DOESNT_EXIST: "that user doesn't exist" on field 'to'
File "/usr/local/lib/python3.12/site-packages/praw/objector.py", line 240, in objectify
return self._objector.objectify(
File "/usr/local/lib/python3.12/site-packages/praw/reddit.py", line 513, in _objectify_request
^^^^^^^^^^^^^^^^^^^^^^^^
return self._objectify_request(
File "/usr/local/lib/python3.12/site-packages/praw/reddit.py", line 861, in post
raise last_exception
File "/usr/local/lib/python3.12/site-packages/praw/reddit.py", line 879, in post
return func(**dict(zip(_old_args, args)), **kwargs)
File "/usr/local/lib/python3.12/site-packages/praw/util/deprecate_args.py", line 46, in wrapped
self._reddit.post(API_PATH["compose"], data=data)
File "/usr/local/lib/python3.12/site-packages/praw/models/reddit/mixins/messageable.py", line 67, in messageThis code has previously worked as intended
Yes
Operating System/Environment
python:3.12.11 Docker container
Python Version
3.12.11
PRAW Version
7.8.1
Links, references, and/or additional comments?
No response
spectromas, cypher7682 and AlleLouis
Metadata
Metadata
Assignees
Labels
StaleIssue or pull request has been inactive for 20 daysIssue or pull request has been inactive for 20 days