~noisytoot/pylink-modules

5b18e53e1d897cb6c3995fbd7315220a754e3157 — Ron Nazarov 3 years ago e8c23f7 master
Add shrug plugin
2 files changed, 19 insertions(+), 0 deletions(-)

M README.md
A plugins/shrug.py
M README.md => README.md +1 -0
@@ 3,3 3,4 @@ PyLink modules mostly for pissnet.
Plugins go in `plugins/` and protocols would go in `protocols/` (if there were any).
## List of plugins
- `Modelock`: Allows you to lock the mode of a channel, similar to Atheme/Anope's MLOCK, but without channel ownership
- `shrug`: ¯\_(ツ)_/¯

A plugins/shrug.py => plugins/shrug.py +18 -0
@@ 0,0 1,18 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
# Copyright © 2021 Noisytoot <noisytoot@disroot.org>

"""
shrug.py: PyLink shrug plugin.
"""
from pylinkirc import utils

@utils.add_cmd
def shrug(irc, source, args):
    """

    ¯\_(ツ)_/¯"""

    irc.reply("¯\_(ツ)_/¯")