v3.0.0
Release Notes for 10/12/2020
2020.10.12
This big update brings major changes in storage system by migrating to a Database, new features to Moodle and General commands.
[ GENERAL ]
- Migrated all data used by the Bot to PostgreSQL Database.
- Added help
, music
, profile
, reaction_role
and reminder
Cogs.
- Created profile system to store XP by sending messages and leveling up after X amout of messages.
- Created reaction role system which each user can get a role by reacting to the roles menu (needs to be set up by an administrator).
- Removed all paths from settings
.
- Added help_message
model in utilities
to setup help messages.
- Modifyed data_dict
in utilities_moodle
to the new format of data in DB.
- Removed csvfiles
directory.
- Created dist
directory to storage the latest version of moodleapi package.
[ COMMANDS ]
- Added help
that display all available commands with their respective descriptions.
- Added profile
to get personal information about level, total XP and the amout of XP to reach the next level.
- Added avatar
to show the user's avatar in chat.
- Added createroles
responsible for creating roles menu (for staff only).
- Added reminder
to create reminders about Moodle events or personal commitments.
- Added ping
to obtain your ping in milliseconds.
- Added roll
to pick up a random number between 0 and the number given.
- Added e&o
to pick between even or odd.
- Increased Clear
and Cipher
performance.
[ CORE ]
- Init: changed the latest and stable version to 3.0.0.
- Request: changed exception for GET request.
- Security: changed functions in Cryptography
to static methods.
- Settings: removed professor
and ids
dictionaries.
- Token: changed create
function to static method.
[ DATA ]
- Init: added professor
to __all__
modules.
- Calendar: changed _clean
, _time
, _check_time
and _verify
functions to static methods.
- Calendar: changed monthly
adding new parameters and functions call.
- Calendar: created upcoming
to get calendar events 3 times faster than monthly, including more information about the assignments.
- Calendar: created day
to get calendar events by the given day.
- Course: changed filter
function to static method.
- Course: simplified contents
to get only information about files.
- Course: changed get_subjects
name to get_subjects_name
and simplified it.
- Course: created simple_contents
to get information about the assignment.
- Course: created get_teacher
to get the professor's name.
- Export: created to_db
liable to export all data to Database and create the tables.
- Professor: created Professor
module, responsible to get information about professors.
- Professor: created get
static method, to get professor's name.
[ MISC ]
- Added new libraries to requirements.txt
.
- Added files to .gitignore
.
- Created MANIFEST.in
to ignore files and directories.
Music feature coming soon...