+ET fix single pull

This commit is contained in:
Syahrial Agni Prasetya 2024-10-12 15:34:47 +00:00
parent c9ade794b5
commit 408d89ce49
Signed by: lemniskett
GPG Key ID: 24260130A908EB5A

View File

@ -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"))