| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
lists insted of dictionary.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
that has to be checked needs to be a poe/compliment/custom message.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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)
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
> 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
|
| | | | | |
| | | | |
| | | | |
| | | | | |
@with_role
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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 .
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
added help message for .savethedate and edited the error_message for cooldown error
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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)
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add command .partnerzodiac
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |/ / / / / |
|
| |\ \ \ \ \ \
| | |_|_|/ /
| |/| | | | |
Add .who_is_valentine and .valentine_facts
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add Terning Emoji to Constants, Update Fun Cog
|
| | | |/ / / /
| |/| | | | |
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Refine love calculator command
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
One of the dependencies seems to install `typing` from PyPi for some
reason, which confused PyCharm's import optimizer.
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Readded fun.py file to evergreen and added roll command.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
once implemented.
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
added command .romancemovie
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
for KeyError
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|