Example #1
0
async def view_watchlist(ctx):
    watchlist = get_movie_watchlist(MOVIE_COLLECTION)
    responses = embed_movie_watchlist(watchlist)
    if len(responses) > 1:
        paginator = DiscordUtils.Pagination.AutoEmbedPaginator(ctx, timeout=60)
        await paginator.run(responses)
    else:
        await ctx.send(content='', embed=responses[0])
Example #2
0
async def view_watchlist_upvote_sorted(ctx):
    watchlist = get_movie_by_upvotes()
    response = embed_movie_watchlist(watchlist)
    await ctx.send(embed=response)
Example #3
0
async def view_watchlist(ctx):
    watchlist = get_movie_watchlist()
    response = embed_movie_watchlist(watchlist)
    await ctx.send(embed=response)