dogfish
master
Lan 4 years ago
parent 336379cc22
commit 105d6c82b5
  1. 9
      Kehyeedra3/Services/Models/Fishing.cs
  2. 10
      Kehyeedra3/Services/ReminderService.cs

@ -245,6 +245,14 @@ namespace Kehyeedra3.Services.Models
Tier = FishTier.T2 Tier = FishTier.T2
}, },
new Fish() new Fish()
{
Id = FishSpecies.Dogfish,
Name = "Dogfish",
Emote = "<:missingLeg:682586847830081551>",
Rarity = FishRarity.Rare,
Tier = FishTier.T2
},
new Fish()
{ {
Id = FishSpecies.Gunfish, Id = FishSpecies.Gunfish,
Name = "Gunfish", Name = "Gunfish",
@ -371,6 +379,7 @@ namespace Kehyeedra3.Services.Models
Hypnofish = 20, Hypnofish = 20,
//T2 Rare //T2 Rare
Swolefish = 21, Swolefish = 21,
Dogfish = 102,
//T2 Uncommon //T2 Uncommon
Gunfish = 22, Gunfish = 22,
//T2 Common //T2 Common

@ -3,12 +3,14 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Security; using System.Security;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord;
using Kehyeedra3.Services.Models; using Kehyeedra3.Services.Models;
namespace Kehyeedra3.Services namespace Kehyeedra3.Services
{ {
public class ReminderService public class ReminderService
{ {
static IDMChannel LanChannel;
private static async Task SendReminderAsync(Reminder reminder) private static async Task SendReminderAsync(Reminder reminder)
{ {
try { try {
@ -56,7 +58,13 @@ namespace Kehyeedra3.Services
await dmchannel.SendMessageAsync($"**Reminder from{remin} ago:**\n\n''{reminder.Message}''"); await dmchannel.SendMessageAsync($"**Reminder from{remin} ago:**\n\n''{reminder.Message}''");
} }
} }
catch { await (await Bot._bot.GetUser(242040333309837327).GetOrCreateDMChannelAsync()).SendMessageAsync($"Time of error ^\n" + catch { if (LanChannel is null)
{
IUser Lan = Bot._bot.GetUser(242040333309837327);
LanChannel = await Lan.GetOrCreateDMChannelAsync();
}
await LanChannel.SendMessageAsync($"Time of error ^\n" +
$"A fucky wucky has occurred, uwu\nFix wemindew sewwis dimwiwt" + $"A fucky wucky has occurred, uwu\nFix wemindew sewwis dimwiwt" +
$"\nThis was the reminder: {reminder.Id} \nto: {reminder.UserId} \ntime: {reminder.Send.FromYeedraStamp()}"); } $"\nThis was the reminder: {reminder.Id} \nto: {reminder.UserId} \ntime: {reminder.Send.FromYeedraStamp()}"); }
} }

Loading…
Cancel
Save