@ -193,7 +193,7 @@ namespace Kehyeedra3.Commands
public async Task FishCommand ( )
{
ulong time = ulong . Parse ( DateTime . Now . ToString ( "yyyyMMddHHmm" ) ) ;
ulong totalXp ;
ulong totalXp = 0 ;
ulong xp = 0 ;
ulong level = 0 ;
ulong lvlXp = 0 ;
@ -204,7 +204,7 @@ namespace Kehyeedra3.Commands
int SpecialBait = 0 ;
int Lettuce = 0 ;
Dictionary < FishSpecies , int [ ] > inv = new Dictionary < FishSpecies , int [ ] > ( ) ;
Dictionary < Items , int [ ] > items = new Dictionary < Items , int [ ] > ( ) ;
List < Fish > fishes = Fishing . GetFishList ( ) ;
using ( var Database = new ApplicationDbContextFactory ( ) . CreateDbContext ( ) )
@ -231,8 +231,12 @@ namespace Kehyeedra3.Commands
await Context . Channel . SendMessageAsync ( $"{Context.User.Mention}\narrrrr-right, ye scurby bastard, I know yer eager t' scour the seven seas but ye needs t' wait till the next minute t' pillage the booty'o'the depths, savvy?" ) ;
return ;
}
if ( guser . GeneralInventory ! = null | | guser . GeneralInventory ! = "{}" )
if ( guser . GeneralInventory = = null )
{
guser . GeneralInventory = "{}" ;
}
Dictionary < Items , int [ ] > items = new Dictionary < Items , int [ ] > ( ) ;
items = guser . GetGenInve ( ) ;
int [ ] subtract = { 0 } ;
subtract [ 0 ] = - 1 ;
@ -275,7 +279,7 @@ namespace Kehyeedra3.Commands
}
guser . SetGenInve ( items ) ;
}
level = user . Lvl ;
totalXp = user . TXp ;