.. _minifier: ======== Minifier ======== This is the cog guide for the 'Minifier' cog. This guide contains the collection of commands which you can use in the cog. Through this guide, ``[p]`` will always represent your prefix. Replace ``[p]`` with your own prefix when you use these commands in Discord. .. note:: This guide was last updated for version 0.2.0. Ensure that you are up to date by running ``[p]cog update minifier``. If there is something missing, or something that needs improving in this documentation, feel free to create an issue `here `_. This documentation is auto-generated everytime this cog receives an update. -------------- About this cog -------------- Minify your code! -------- Commands -------- Here are all the commands included in this cog (1): +---------------+----------------------------------------------------------------------------------+ | Command | Help | +===============+==================================================================================+ | ``[p]minify`` | Minify a python file. | | | | | | You need to attach a file to this command, and it's extension needs to be `.py`. | +---------------+----------------------------------------------------------------------------------+ ------------ Installation ------------ If you haven't added my repo before, lets add it first. We'll call it "kreusada-cogs" here. .. code-block:: [p]repo add kreusada-cogs https://github.com/Kreusada/Kreusada-Cogs Now, we can install Minifier. .. code-block:: [p]cog install kreusada-cogs minifier Once it's installed, it is not loaded by default. Load it by running the following command: .. code-block:: [p]load minifier --------------- Further Support --------------- For more support, head over to the `cog support server `_, I have my own channel over there at #support_kreusada-cogs. Feel free to join my `personal server `_ whilst you're here.