aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | Address DM failure, random_user logic, str[key] error.Gravatar Scragly2019-02-27-7/+16
| | | | |
| * | | | In the json file,i now have a list containing all the peoms/compliments in ↵Gravatar Rohan2019-02-22-104/+40
| | | | | | | | | | | | | | | | | | | | lists insted of dictionary.
| * | | | Added a function called valentine check which checks if the the valetine ↵Gravatar Rohan2019-02-21-30/+15
| | | | | | | | | | | | | | | | | | | | that has to be checked needs to be a poe/compliment/custom message.
| * | | | I did the follow changes:Gravatar Rohan2019-02-20-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.Fixed indentation 2.Removed unneccessory comments 3.Re-named the varible Role to lovefest_role 4.Edited te random user function 5.Removed unneccessory f strings(just removing the f letter,lol)
| * | | | fixed the linter issue regarding the order of importsGravatar Rohan2019-02-18-1/+1
| | | | |
| * | | | I did the following changes :Gravatar Rohan2019-02-18-32/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.Lovefest invoke the help cmd. 2.Checks whether the user to whome the valentine should be sent has the lovefest role or not.People who have the lovefest role can only receive valentines. 3.Using role.members insted of guild.members. 4.When choosing a random valentine, if there is no one having the lovefest role,then the bot replies saying that there is no one to send a valentine to.This will be required at the initial stages of this command when in production.
| * | | | fixed linter issuesGravatar Rohan2019-02-17-23/+3
| | | | |
| * | | | I did the following changes:Gravatar Rohan2019-02-17-24/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) made a method to load json files 2) Removed refreshlovefest and made a method to choose a random user whenever needed 3) changed the .bemyvalentine dm to .bemyvalentine secret
| * | | | The did the follwing changes :Gravatar Rohan2019-02-15-95/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 1)The made a static method to generate random heart emoji > 2)I made a static method to get a random user using lovefest role if the person using the command dosent provide one > 3)i made a valentines attribute in the init method taking in the json data > 4) made the poem and compliment /p/c as case insensitive by using lower() to the user input
| * | | | I have made the command .refreshlovefest modertaor only using the decorator ↵Gravatar Rohan2019-02-14-1/+3
| | | | | | | | | | | | | | | | | | | | @with_role
| * | | | I have made the following changes :Gravatar Rohan2019-02-14-56/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1)I have re check my json file and formated the poems. 2)I have now loaded the json data when the cog extension is loaded insted of loading it per command. 3)Fixed the indentation in the comments/doc strings.(making 1st letter capital and adding a period at the end) 4)Changed double new lines to single new line between text statements. 5)changed the double new line to single new line between the imports.
| * | | | Well i have done quite a few changes :Gravatar Rohan2019-02-13-12/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) I have now made a USER_LOVEFEST list which will have all the members having the lovefest role.Whenever people use the command '.lovefest' to get themselfs the lovefest role,their name will be appended to the list. 2) incase the bot goes offline for some reason,then we need to again add members to USER_LOVEFEST list.So for this i added one more command called '.refreshlovefest' which adds all the members having lovefest role to the list 3) Basically the purpus of the USER_LOVEFEST list is when someone uses the bemyvalentine commands,and they dont provide a user,then a random user is selected from the USER_LOVEFEST list. these are the changes done .
| * | | | im done working with the bemyvalentine commandGravatar Rohan2019-02-12-0/+319
| | | | |
* | | | | Merge pull request #120 from RohanJnr/small_changes_icemanGravatar scragly2019-02-27-1/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | added help message for .savethedate and edited the error_message for cooldown error
| * | | | | changed variable name from message to time_remainingGravatar Rohan2019-02-17-2/+2
| | | | | |
| * | | | | Changed the variable name error_message to messageGravatar Rohan2019-02-17-2/+2
| | | | | |
| * | | | | I did the following changes:Gravatar Rohan2019-02-17-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1)Added a help text to .savethedate 2)Edited the error message for cooldowns so that it shows not only seconds remaining but also minutes(if cooldowntime>60 seconds)
* | | | | | Merge pull request #123 from RohanJnr/valentine_zodiac_icemanGravatar Chris Goes2019-02-25-0/+321
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add command .partnerzodiac
| * | | | | | changed the logging debug message.Gravatar Rohan_Iceman2019-02-25-1/+1
| | | | | | |
| * | | | | | loaded json file in the init methodGravatar Rohan2019-02-23-22/+26
| | | | | | |
| * | | | | | Made the try catch block narrow and only catching KeyErrorsGravatar Rohan2019-02-21-21/+21
| | | | | | |
| * | | | | | Wrote the command as described in the issue #107Gravatar Rohan2019-02-20-0/+317
| |/ / / / /
* | | | | | Merge pull request #122 from darthdelay/whoisvalentineGravatar Johannes Christ2019-02-21-0/+77
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | Add .who_is_valentine and .valentine_facts
| * | | | | Update whoisvalentine.py to address requested changesGravatar Darth Delay2019-02-20-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few things have been changed to address the changes listed under PR #122: - Changed the color tag of the embed from both commands from discord.Color.dark_magenta() to bots.constants.Colours.pink - Renamed valentine_facts to valentine_fact These changes are needed to fit the projects standards.
| * | | | | Add .who_is_valentine and .valentine_factsGravatar Darth Delay2019-02-19-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #102 This pull request adds the commands who_is_valentine and valentine_facts. The who_is_valentine command sends information about Saint Valentine of Terni to the channel the command has been called in. This is done by making use of the valentine_facts.json file's 'whois' attribute, which has all the information stored in it. The valentine_facts command sends a random fact with a random title to the channel the command has been called in. This is done by making use of the of the valentine_facts.json file's 'titles' and 'text' attribute, in which both, the information for the titles and the facts are stored in. Both commands do have docstrings, which explain what the command does in an easy manner. At the moment, there's a really sparse amount of facts available. I seek to add a lot more in the near future.
* | | | | | Merge pull request #121 from python-discord/emoji-updateGravatar Sebastiaan Zeeff2019-02-18-1/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add Terning Emoji to Constants, Update Fun Cog
| * | | | | | Add direct reference to terning emoji to constants, fun cogGravatar sco12019-02-17-1/+11
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #118 from avayert/masterGravatar Leon Sandøy2019-02-17-57/+100
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Refine love calculator command
| * | | | | Escape markdown in usernamesGravatar Ava2019-02-16-9/+13
| | | | | |
| * | | | | Somewhat normalize argumentsGravatar Ava2019-02-16-5/+12
| | | | | |
| * | | | | Fix import orderingGravatar Ava2019-02-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of the dependencies seems to install `typing` from PyPi for some reason, which confused PyCharm's import optimizer.
| * | | | | Improve command help docstringGravatar Ava2019-02-16-8/+17
| | | | | |
| * | | | | Refine love calculator commandGravatar Ava2019-02-15-61/+84
| | | | | |
* | | | | | Merge pull request #111 from astieman/RollMethodGravatar scragly2019-02-17-0/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | Readded fun.py file to evergreen and added roll command.
| * | | | | | 3rd code review. Added docstring.Gravatar astieman2019-02-16-0/+3
| | | | | | |
| * | | | | | 2nd code review complete. Default roll once and warning to roll at least ↵Gravatar astieman2019-02-15-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | once implemented.
| * | | | | | Code review changes implemented. Reverted so error handling is done by base bot.Gravatar astieman2019-02-14-15/+7
| | | | | | |
| * | | | | | Readded fun.py file to evergreen and added roll command.Gravatar astieman2019-02-11-0/+40
| | | | | | |
* | | | | | | Merge pull request #114 from 3bodyZZ/masterGravatar Joseph2019-02-16-0/+66
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | added command .romancemovie
| * | | | | | Fixed grammar, quotation style and dictionary styleGravatar abdullah oday2019-02-16-11/+12
| | | | | | |
| * | | | | | Unindented commentGravatar abdullah oday2019-02-16-1/+1
| | | | | | |
| * | | | | | Fixed an issue with the requestGravatar abdullah oday2019-02-16-20/+19
| | | | | | |
| * | | | | | Fixed log.warningGravatar abdullah oday2019-02-16-1/+1
| | | | | | |
| * | | | | | Made warning message more explicitGravatar abdullah oday2019-02-16-3/+4
| | | | | | |
| * | | | | | Added logging for KeyErrorGravatar abdullah oday2019-02-16-0/+2
| | | | | | |
| * | | | | | Used bot.http_session instead of creating a new session, and now checking ↵Gravatar abdullah oday2019-02-16-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for KeyError
| * | | | | | Removed "Generator" fom log.debugGravatar abdullah oday2019-02-15-1/+1
| | | | | | |
| * | | | | | Fixed quotation style, removed unnecessary newlineGravatar abdullah oday2019-02-15-14/+13
| | | | | | |
| * | | | | | Fixed grammar issues, Moved constants to the top, Changed function nameGravatar abdullah oday2019-02-15-14/+13
| | | | | | |
| * | | | | | changed import orderGravatar abdullah oday2019-02-14-1/+1
| | | | | | |