Commit Graph

37 Commits (2ef3a95ef07c9eff4398d4f50e37cfea9788d356)

Author SHA1 Message Date
jmjl 2ef3a95ef0 Fix brianwash gain percentage 2024-02-13 10:25:24 +00:00
jmjl ef60b999dc Revert "Fix brainwash"
This reverts commit c15be36df5.
2024-02-13 10:25:03 +00:00
jmjl a6967ece6f Use wait time from the util library 2024-02-13 10:22:26 +00:00
jmjl c15be36df5 Fix brainwash
Fix brainwash when TIMESKIP is on, so that users aren't able to reset
the timestamp to current time instead of a time in the future, I think.
2024-02-13 05:36:49 +00:00
jmjl 550a2c33e2 Error out tracebacks when util fails
The util library originally developed by krowbar and with my
modifications isn't the most perfect thing, and I break it a bit.
2023-12-15 20:50:27 +00:00
jmjl d9d1d6e52b cleanwash: Include user's nick in message
This makes it easier to know who triggered it in
busy rooms, with multiple people playing at the
same time
2023-12-11 16:02:41 +00:00
jmjl 9520adc3d0 Add info about cleanwash-moneyback requests 2023-11-05 06:02:10 +00:00
jmjl ffc91a26ce &delete_request allow deleting others req
This commit makes it possible for other admins to delete requests easily
2023-11-04 10:52:58 +00:00
jmjl 305f1cd616 &lta should tell the user for which the answer was
It did something flaky if you were op and did &lta somenick, returing
the response for that nick but pinging you and saying that was your last
answer.
2023-10-07 09:08:27 +00:00
jmjl 89c334b9d0 &lta: Make output nicer for source code
I've made the output nicer for source code.
2023-10-07 08:57:25 +00:00
jmjl 5962fd7c12 lasttilde no longer shall fail sometimes
&lta failed sometimes.
2023-10-07 08:54:03 +00:00
jmjl d15e047bc1 [cleanwash]: Inform the user if they don't have TCN in Ju.
Inform the user that they don't have TCN in Ju.
I know this should be rewritten using arpgarse probably to make my life
easier, but I don't know how I'd represent the help, maybe making `-h`
send help (in many messages) to privmsg.
Suggestions welcome.
2023-10-04 17:46:35 +00:00
jmjl 8eb7f14594 Fix typo 'date/nowater' -> 'data/nowater' 2023-09-28 17:54:39 +00:00
jmjl 405a113598 Return coins given to Ju but not yet washed 2023-09-28 17:53:28 +00:00
Julian Marcos fe6ace02e7
Fix typo lte -> lta
This commit fixes the typo of the shorthand of lte to be the correct
version, which is lta.
2023-09-03 20:27:49 +02:00
Julian Marcos 9cbe6b4d1d
~admin: Move admin cmds to their their own module
This commit moves tilde commands for administrative purposes, which are
only usable by administrators, to their own module called tildeadmin.
2023-09-02 22:41:45 +02:00
Julian Marcos 0123d4d4dd
Move cleanwash to it's own module
This commit moves cleanwash and brainwash to it's own module and
furthermore removes the modules that weren't referenced
2023-09-02 22:39:31 +02:00
Julian Marcos 09b934ee37
tilde: Remove junk CTR variable
This commit removes a junk CTR variable.
2023-09-02 22:39:26 +02:00
Julian Marcos 862c9360b1
Clean up comments
This commit cleans up the comments in tilde and in tildewait.
2023-09-02 22:27:49 +02:00
Julian Marcos 5458b23efb
tilde_guess: Remove obsolete notifchan
This commit removes the obsolete notifchan and it's associated code from
the program.
Furthermore, this commit removes the importlib library from the file, as
it's not used anywere
2023-09-02 22:06:35 +02:00
Julian Marcos 6d2a05d52c
&water: Ignore file in data/
This commit moves nowater.txt from the root of the project to the data
directory, where it can be kept private.
2023-09-02 22:02:39 +02:00
jmjl 4f631e96fe Add the flaky last_tilde plugin
This commit adds the aftermentioned to be flaky last_tilde_answer
command and the lte alias.
2023-09-02 19:54:38 +00:00
jmjl 1d3622d0cb Tildewait do not inform timeskip state
It doesn't make sense for tildewait to show the timeskip state if it is
purposefully hidden from a file.
2023-09-02 17:38:09 +00:00
jmjl 44377a58e9 Timeskip do not write to file
This commit makes &tsk not write to a file.
This commit also changes tilde.py's permission to not be +x, as that's
not required for python.
2023-09-01 17:19:52 +00:00
jmjl 5caff13c38 Almost all options being config options
The options in the bot configuration should be taken from the
config.json not from the bot source file, as hardcoding options is bad
I've also refactorized the handler, and made most options be config
options
2023-09-01 14:15:14 +00:00
jmjl ad4b711a7c run.sh be able to enable the test mode
This commit sends the first parameter of run.sh into bot.py, such that
the test mode can be used with run.
2023-09-01 14:06:48 +00:00
jmjl 37812b90f7 Ignore data directories and existing files only
This commit modfies the gitignore in such a way to ignore the data
directory, and supposes in the future a new data directory for users,
named 'users' will be created.

This commit furthermore removes gitignores for certain files that don't
exist in this git repository but existed in the repository this
repository's been based of.
2023-09-01 12:13:46 +00:00
jmjl e6054e713d Delete undofiles
I preffer moving them to another directory and not having them take up
space on the repo.
2023-09-01 12:07:53 +00:00
jmjl 9471383f97 tilde: Also show percentage on brainwash
Requested by login
2023-06-26 15:49:40 +00:00
jmjl 25741faa93 Plugins! 2023-06-26 15:31:30 +00:00
jmjl d0cb0dffa0 Bump pinhook to 1.10 2023-06-26 15:28:18 +00:00
jmjl fcf69686bf Remove a plugin and modify the bot's help. 2023-06-26 15:28:01 +00:00
jmjl 6da9d07fbe I guess this stopped being a git log of everything with the bot. 2023-06-19 18:53:22 +00:00
jmjl 36204229b9 ~radio: Cleanup, but still needs more 2021-10-24 06:45:05 +00:00
jmjl feeb861b66 &water: It was appearing as if pinhook visited the user 2021-10-24 06:44:35 +00:00
jmjl edec55b0d6 &ju to get info only for this bot 2021-10-16 12:37:22 +00:00
jmjl 456f9cc01d Initial commit
This is the initial commit, yay
2021-10-15 18:59:22 +00:00