Custom Scripting
  • Main Page
  • Setup Custom Scripts
    • How To Use Custom Scripts
  • Documentation
    • Examples
      • Embed Commands
      • Events
      • Autofarm Command
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. Examples

Autofarm Command

Autofarm mee6 XP

This will send random messages at random times to practically farm mee6 bot levels:

running = 0
@Rise.command()
async def farmee6(ctx):
    await ctx.message.delete()
    print(f"{CmdColor}Command Ran: farmee6")
    global running
    if running == 0:
        running += 1
        await ctx.send('```Started farming mee6```') #start of the farm
        while running == 1:
            try:
                damessages = ['Oh yeah hahahaha','nothing just thinking','oh i remember this','okay i will','thanks for reminding','qua qua qua jaja']
                await ctx.send(f'{random.choice(damessages)}')
                sleep(randint(5,10))
            except:
                pass
    elif running == 1:
        running -= 1
        await ctx.send('```Finished farming mee6```')
PreviousEvents

Last updated 3 years ago

Was this helpful?