+ET fix single pull
This commit is contained in:
parent
c9ade794b5
commit
408d89ce49
4
main.py
4
main.py
@ -38,7 +38,7 @@ async def single_pull(ctx: discord.ApplicationContext, banner_number: discord.Op
|
|||||||
student_get = roll.regular()
|
student_get = roll.regular()
|
||||||
else:
|
else:
|
||||||
student_get = roll.rate_up(CURRENT_BANNER[banner_number-2]['SSR'], False, CURRENT_BANNER[banner_number-2]['SR'])
|
student_get = roll.rate_up(CURRENT_BANNER[banner_number-2]['SSR'], False, CURRENT_BANNER[banner_number-2]['SR'])
|
||||||
await ctx.respond(generate_student_roll_string(student_get))
|
await ctx.respond(utils.generate_student_roll_string(student_get))
|
||||||
|
|
||||||
|
|
||||||
@bot.slash_command(name="multi-pull", description="Multi pull in a banner")
|
@bot.slash_command(name="multi-pull", description="Multi pull in a banner")
|
||||||
@ -72,4 +72,4 @@ async def two_hundred_pull(ctx: discord.ApplicationContext, banner_number: disco
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
bot.run(os.environ.get("BOT_TOKEN"))
|
bot.run(os.environ.get("BOT_TOKEN"))
|
||||||
|
Loading…
Reference in New Issue
Block a user