aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* (Space Cog): Created head command `.space` and added all other commands under itGravatar ks1232020-03-07-5/+10
|
* (Space Cog): Fixes with random module. Removed manual random list item ↵Gravatar ks1232020-03-02-5/+5
| | | | getting with random.choice
* (Space Cog): .apod Command Fixes: Renamed default parameters constant, ↵Gravatar ks1232020-03-02-8/+5
| | | | changed embed title, removed HD parameter + changed img from hdurl to url.
* (Space Cog): Renamed + fixed base URLs constantsGravatar ks1232020-03-02-8/+7
|
* (Space Cog): Modified base URLs (removed slash at end, added to queries), ↵Gravatar Karlis. S2020-02-29-11/+14
| | | | modified .mars command result check, some very small fixes.
* (Space Cog): Added .mars command, removed get_random_nasa_command (no need ↵Gravatar Karlis. S2020-02-29-11/+35
| | | | for it) and moved all what this do to .nasa command.
* (Space Cog): Added .earth command, created new base URL: NASA Epic API base URLGravatar Karlis. S2020-02-29-0/+23
|
* (Space Cog): Added .nasa command that show information and facts about NASA ↵Gravatar Karlis. S2020-02-29-0/+24
| | | | and/or space
* (Space Cog): Created get_random_nasa_item function what will be used in ↵Gravatar Karlis. S2020-02-29-0/+11
| | | | (upcoming) .nasa command.
* (Space Cog): Created .apod command that support date parameter.Gravatar Karlis. S2020-02-29-2/+27
|
* (Space Cog): Added fetch_from_nasa function to space.py, what do request to ↵Gravatar Karlis. S2020-02-29-0/+8
| | | | NASA API and support arguments endpoint and params.
* (Space Cog): Added NASA API base URL and .apod command HTTP request default ↵Gravatar Karlis. S2020-02-29-0/+10
| | | | parameters
* (Space Cog): Added NASA API key check on load, added loggerGravatar Karlis. S2020-02-29-0/+10
|
* Added NASA API Key to constants.pyGravatar Karlis. S2020-02-29-0/+1
|
* Added Space CogGravatar Karlis. S2020-02-29-0/+16
|
* Merge branch 'master' into F4zi/bug/LAST_EMOJI-352Gravatar Shirayuki Nekomata2020-02-19-0/+199
|\
| * Fixed comments in Movie cogGravatar Karlis S2020-02-18-2/+2
| |
| * Fixed error message for less than 1 movie check.Gravatar Karlis S2020-02-18-1/+1
| |
| * Added .movies genres|genre|g command. Made .movies command docstring ↵Gravatar ks1232020-02-17-46/+43
| | | | | | | | smaller. Added warning loggings. Better Some Numbers section formatting.
| * Small style fixes: removed unnecessary comments, made ifs easier readable, ↵Gravatar ks1232020-02-16-26/+17
| | | | | | | | fixed type hints.
| * Moved get_random_movies to Movie cog and made this to smaller functions.Gravatar ks1232020-02-15-141/+128
| |
| * Replaced check from Enum members to try-except block.Gravatar ks1232020-02-14-5/+4
| |
| * Made .movies command genres getting ID and name check to Enum, also made ↵Gravatar ks1232020-02-14-57/+33
| | | | | | | | things more dynamical.
| * Moved .movies command genres from subcommands to if-elif-else statement, ↵Gravatar ks1232020-02-14-328/+96
| | | | | | | | added alias .movie
| * Added .movie command with what when specifing genre you get random movies, ↵Gravatar ks1232020-02-12-0/+481
| | | | | | | | depending how much movies you define. This use TMDB API.
* | Lint error - missing lineGravatar F4zii2020-02-17-1/+0
| |
* | Merge remote-tracking branch 'origin/F4zi/bug/LAST_EMOJI-352' into ↵Gravatar F4zii2020-02-17-0/+1
|\ \ | | | | | | | | | F4zi/bug/LAST_EMOJI-352
| * | Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii2020-02-17-1/+1
| | |
| * | Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii2020-02-17-1/+3
| | |
* | | Paginator Migration - Added trashcan emoji to constants.pyGravatar F4zii2020-02-17-1/+4
|/ /
* | Pagination migrations - Data Structure ModifiedGravatar F4zi2020-02-17-1/+1
| | | | | | | | | | | | Changed the pagination emoji collection from list to tuple This change was suggested since this collection is constant
* | Pagination migrations - Actions and emojisGravatar F4zi2020-02-17-6/+6
| | | | | | | | | | | | | | Clicking on [:trashcan:] broke the loop and deleted the message, instead, now we return after a message deletion and break when an `asyncio.TimeoutError` is raised (when a user fails to add reactions in time)
* | Paginator Migration - Emoji and actionsGravatar F4zii2020-02-16-10/+10
| | | | | | | | | | Switched the emoji used to clear the reactions of a paginator [":x:"] With [":trashcan:"], Clicking on this emoji deletes the message
* | Fix the Pagination cogGravatar F4zii2020-02-16-1/+1
|/ | | | | | | | When using pagination in the Reddit cog, clicking the LAST_EMOJI would raise an exception like this: TypeError: unsupported operand type(s) for -: 'list' and 'int' This was resolved by taking the subtraction out of the len() function.
* Add correct emoji IDs to Evergreen reddit cogGravatar Sebastiaan Zeeff2020-02-09-7/+7
| | | | | | | | | | | | | | | | | | The emoji IDs in the Reddit cog were for emojis that are not available to Seasonal Bot. While I think a proper solution using constants is to be preferred, I've edited in IDs for emojis that can be used by the bot in the mean time. I've reused three of the emojis that we were already using for our Reddit webhook and added four new emojis to the `PyDis Emoji II` server. Reused emojis: :user: 638729835442602003 :upvotes: 638729835245731840 :comments: 638729835073765387 New emojis available on PyDis Emoji II: :reddit_logo: 676030265734332427 :reddit_post_photo: 676030265734201344 :reddit_post_text: 676030265910493204 :reddit_post_video: 676030265839190047 The latter four may need to be restyled to match the first three in the future.
* Removed un-wanted code and using random.simple() to select 5 random unique ↵Gravatar RohanJnr2020-02-09-13/+6
| | | | reddit posts insted of using a while loop
* Merge branch 'master' into reddit_postsGravatar Rohan2020-02-05-5/+15
|\
| * Shorten description & remove author override in permission error embedGravatar S. Co12020-01-27-4/+4
| | | | | | Update logging events so they follow the correct chain of execution
| * Added permission check for staff channels message leak.Gravatar AG_14362020-01-25-0/+12
| |
| * Removed unnacessary `content` variable usageGravatar AG_14362020-01-07-2/+1
| |
| * Moved jump url into a field.Gravatar AG_14362020-01-07-6/+2
| |
| * Add exception where relayed message.content length exceed 2048 charactersGravatar AG_14362020-01-07-1/+4
| |
* | uninstalled the buttons lib and corrected lint errorsGravatar RohanJnr2020-02-05-123/+124
| |
* | finished implementing the reddit commandGravatar RohanJnr2020-02-05-45/+51
| |
* | installed buttons and implemented embed paginationGravatar RohanJnr2020-01-26-0/+130
|/
* Merge branch 'master' into quiz_fixGravatar Mark2019-12-20-141/+368
|\
| * Auto-delete channel check error after a period of time.Gravatar scragly2019-12-12-2/+2
| |
| * Add exc_info to log.exception to display traceback.Gravatar scragly2019-12-12-1/+1
| |
| * Use error_embed for errors, tidy code, show cmd signature for user errors.Gravatar scragly2019-12-12-119/+106
| |
| * Merge branch 'bookmark' of https://github.com/AG4lyf/seasonalbot into bookmarkGravatar kwzrd2019-12-10-8/+58
| |\