Skip to content

Commit

Permalink
deals with #9
Browse files Browse the repository at this point in the history
  • Loading branch information
xubiod committed Oct 29, 2018
1 parent 32bbb2f commit 28386c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xubot/src/RedditGet.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Discord;
using Discord;
using Discord.Commands;
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -199,7 +199,6 @@ public async Task reddit_pic(string subreddit, string query, int sorting)
[Command("reddit", RunMode = RunMode.Async)]
public async Task reddit_pic(string subreddit, int sorting)
{

previous_sub = subreddit;
previous_sorting = sorting;
previous_query = "";
Expand All @@ -211,7 +210,6 @@ public async Task reddit_pic(string subreddit, int sorting)
[Command("reddit", RunMode = RunMode.Async)]
public async Task reddit_pic(string subreddit, bool hide)
{

previous_sub = subreddit;
previous_sorting = 0;
previous_query = "";
Expand Down Expand Up @@ -298,7 +296,6 @@ public async Task Operate(ICommandContext Context, string subreddit, string quer
}
else
{

await msg.DeleteAsync();
//await ReplyAsync("https://reddit.com" + post.Permalink.ToString());

Expand Down

0 comments on commit 28386c2

Please sign in to comment.