Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to view previous topics with .topic command #1148

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Commits on Nov 15, 2022

  1. Add ability to view previous topics with .topic command

    After a user invokes the ".topic" command and reacts with the reroll emoji, the embed will now show the previous few messages. It cannot display more than
    256 characters, which is usually around 5 prompts.
    
    Implements: python-discord#1145
    Anonymous4045 committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    ecc33e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Configuration menu
    Copy the full SHA
    7c1f0f8 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Merge branch 'main' into previous_topics

    Anonymous committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    6241f1e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. Reformat conversationstarters.py

    Revert the extra whitespaces added by my formatter to meet the style guide.
    Anonymous committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    823e8e7 View commit details
    Browse the repository at this point in the history
  2. Optimize nested code in conversationstarters.py

    This commit will remove some duplicate and unnecessary code, as suggested by @ChrisLovering.
    Anonymous committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    9ec251a View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Remove reroll reaction at max embed length

    Once the number of characters in the embed's title exceeds the limit of 256, the bot will remove the reroll emoji.
    
    Suggested (here)[python-discord#1148 (comment)]
    Anonymous committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    fdc1894 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Remove unneeded comment

    Anonymous committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    53ff19f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into previous_topics

    Anonymous committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    aee35d7 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Configuration menu
    Copy the full SHA
    8bcd48b View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. Change message format

    This commit changes the message to have a set title, then up to 3 topics, followed by a footer (currently link is broken).
    Anonymous4045 committed May 12, 2024
    Configuration menu
    Copy the full SHA
    a149c6f View commit details
    Browse the repository at this point in the history
  2. Handle forced topic reroll

    This commit handles when a user presses the reroll emoji after it's already removed by the bot. It just returns what the embed was before and re-clears the reactions.
    Anonymous4045 committed May 12, 2024
    Configuration menu
    Copy the full SHA
    5ff99a3 View commit details
    Browse the repository at this point in the history
  3. Move form link to description

    Because embed footers can't have markup, the topic suggestion hyperlink can't be in it. This commit moves it from the footer to the description of the embed.
    Anonymous4045 committed May 12, 2024
    Configuration menu
    Copy the full SHA
    d763ea9 View commit details
    Browse the repository at this point in the history
  4. Fix forced reroll

    Anonymous4045 committed May 12, 2024
    Configuration menu
    Copy the full SHA
    9c518be View commit details
    Browse the repository at this point in the history