You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to Reddit.NET and using it to make a fairly simple sports game thread bot. So far able to get most of my bot in place using Reddit.NET (great work by the community that made this!). However, I am running into issue trying to submit new post(s) to a subreddit. See my example code below:
.
.
.
// Get Subreddit (using fake sub name for sake of anonymity)
var sub = redditClient.Subreddit("Foo");
//Create new post (assume FooAuthor is real and mod of sub)
var newPost = sub
.SelfPost("Test Post", "This is just a test!", "<p><b>Some HTML!<//b><//p>", "FooAuthor")
.Submit();
// New Poist ID is captured (but new post never shows in sub)
Console.WriteLine("New Post ID: " + newPos.Id);
.
.
.
Anything I can troubleshoot? Or am I just making the incorrect calls?
Lastly, what is the preferred method of asking questions related to Reddit.NET (here, StackOverflow, etc.)?
Regards,
seanrco
The text was updated successfully, but these errors were encountered:
Hi All,
New to Reddit.NET and using it to make a fairly simple sports game thread bot. So far able to get most of my bot in place using Reddit.NET (great work by the community that made this!). However, I am running into issue trying to submit new post(s) to a subreddit. See my example code below:
Anything I can troubleshoot? Or am I just making the incorrect calls?
Lastly, what is the preferred method of asking questions related to Reddit.NET (here, StackOverflow, etc.)?
Regards,
seanrco
The text was updated successfully, but these errors were encountered: