Shouts at you when you shout at it
Say something. Say anything. But say it LOUDLY. The cap' will log what you say (for your server only) and shout something random back at you. The more you shout at it, the bigger its repertoire gets. Duplicate text will not be logged.
Deleting a message will delete its correspond entry in the database, if there is one. Editing a message will update the entry to match, however,if you sneakily edit a shout so that it's no longer a shout, the bot will delete the correspond entry in the database instead. For example, saying "YOOOOO" and then editing it to "yo" will mean that the cap' will not say "YOOOOO" anymore.
If a channel is deleted, all of its corresponding messages are deleted from the database.
When Captain Caps is kicked from a server, all shouts for that server are deleted from its database.
The algorithm for determining shouts is in utils/shout.py. All word characters are considered, and if more than half of them are uppercase, the sentence is a shout. Certain strings are ignored (mostly emoticons). See the utils/shout.py file for more details.
Copyright © 2018–2019 lambda#0987
CAPTAIN CAPSLOCK is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
CAPTAIN CAPSLOCK is distributed in the hope that it will be fun, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
For a copy of the GNU Affero General Public License, see https://github.com/bmintz/CAPTAIN-CAPSLOCK/blob/master/LICENSE.md.