Skip to content

Commit

Permalink
No more ping hell
Browse files Browse the repository at this point in the history
  • Loading branch information
BattleRush committed Jan 15, 2025
1 parent 9d4241d commit b936f0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ETHDINFKBot/DiscordModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,6 @@ public async Task Rant(string type = null, [Remainder] string content = "")
{
await Context.Channel.SendMessageAsync($"You used a type that doesnt exist yet. But because I'm so nice im adding it for you.", false);
bool success = DatabaseManager.Instance().AddRantType(type);
await Context.Channel.SendMessageAsync($"Added {type} Success: {success}", false);

if (!success)
return;
Expand All @@ -1547,7 +1546,7 @@ public async Task Rant(string type = null, [Remainder] string content = "")
var guildChannel = (SocketGuildChannel)Context.Message.Channel;

bool successRant = DatabaseManager.AddRant(Context.Message.Id, Context.Message.Author.Id, guildChannel.Id, typeId, content);
await Context.Channel.SendMessageAsync($"Added rant Success: {successRant}", false);
await Context.Channel.SendMessageAsync($"Added rant. Success: {successRant}", false);
}
}

Expand Down

0 comments on commit b936f0b

Please sign in to comment.