File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -336,5 +336,19 @@ async def beg(ctx:SlashContext):
336336 else :
337337 await ctx .send (embed = discord .Embed (title = 'A random person' , description = '"lol no get a life"' ))
338338
339+ @slash .slash (
340+ name = 'scout' ,
341+ description = 'Scout your area for coins'
342+ )
343+ async def scout (ctx :SlashContext ):
344+ chance :int = random .randint (1 , 100 )
345+ if (chance <= 90 ):
346+ x :int = random .randint (550 , 2000 )
347+ currency [wallet ][str (ctx .author .id )] += x
348+ save ()
349+ await ctx .send (embed = discord .Embed (title = 'What you found' , description = f'You searched your area and found { x } coins!' ))
350+ else :
351+ await ctx .send (embed = discord .Embed (title = 'What you found' , description = 'Unfortunately no coins for you :(' ))
352+
339353# Initialization
340354client .run (api .auth .token )
You can’t perform that action at this time.
0 commit comments