Skip to content

Commit

Permalink
Fix giveaway thread creation
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Mar 31, 2024
1 parent 5563099 commit 79b1a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/MessageEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static async Task MessageHandlerAsync(DiscordClient client, DiscordMessag
// handle #giveaways
if (!isAnEdit && message.Author.Id == Program.cfgjson.GiveawayBot && message.Channel.Id == Program.cfgjson.GiveawaysChannel && message.Content == Program.cfgjson.GiveawayTriggerMessage)
{
string giveawayTitle = message.Embeds[0].Author.Name;
string giveawayTitle = message.Embeds[0].Title;

if (giveawayTitle.Length > 100)
{
Expand Down

0 comments on commit 79b1a67

Please sign in to comment.