jamesxx / gort Goto Github PK
View Code? Open in Web Editor NEWA modular typescript reddit moderation tool with a rule-action paradigm as a supplement to automod
License: GNU General Public License v3.0
A modular typescript reddit moderation tool with a rule-action paradigm as a supplement to automod
License: GNU General Public License v3.0
Tracking issue for:
As a command.
Tracking issue for:
gort/tests/core/brigadeManager.test.ts
Lines 34 to 36 in c1ce137
gort/src/rules/subredditHistory.rule.ts
Line 43 in e144a0a
Outputs static message. Potential fix includes using the cookies member on executableArgs interface
I think this could be useful - if we have never seen the user on our sub before we could flag it up somehow so that we can check them out.
gort/src/core/conditionals/logic.ts
Lines 55 to 58 in e144a0a
When called with a single executable, reduce method fails as promises returned as boolean rather than boolean array. Highlighted in above class, but most likely affects the other logic classes too. Most likely brought about by typing issue.
Have the option to update notes if a user is being watched eg to record final warnings or if a user is being watched for a new reason
gort/tests/core/brigadeManager.test.ts
Lines 54 to 57 in c1ce137
https://github.com/JamesxX/gort/blob/main/src/core/managers/brigade.manager.ts#L49-L67
Fails to correctly get target link
https://discord.com/channels/913355004306403329/913360141548658718/929792513269694484
"would it be possible to get new hal to tag users with a customisable comment eg we could say to watch a certain user and also tag them with something? Just thinking of the instance of west43rd's alt, it'd be handy to be able to tag them as "ban for ban evasion as west43rd if they ever post here is the link to where they exposed themselves as west43rd [link]" We can't do it in toolbox if they've never posted in our sub"
gort/src/core/providers/usernotes.provider.ts
Lines 17 to 24 in 237dbe4
{info} [core.command] Chat command called: watch scratch-n-yiff work you sack of shit
Subreddit { display_name: 'CoronavirusUK' }
{trace} [bot.gort] Discord message from Gort received.
C:\Users\james\OneDrive\Documents\GitHub\gort\node_modules\snoowrap\dist\objects\WikiPage.js:155
url: "r/".concat(_this4.subreddit.display_name, "/api/wiki/edit"),
^
TypeError: Cannot read properties of undefined (reading 'display_name')
at C:\Users\james\OneDrive\Documents\GitHub\gort\node_modules\snoowrap\dist\objects\WikiPage.js:155:43
at Generator.next (<anonymous>)
at asyncGeneratorStep (C:\Users\james\OneDrive\Documents\GitHub\gort\node_modules\snoowrap\dist\objects\WikiPage.js:12:103)
at _next (C:\Users\james\OneDrive\Documents\GitHub\gort\node_modules\snoowrap\dist\objects\WikiPage.js:14:194)
at C:\Users\james\OneDrive\Documents\GitHub\gort\node_modules\snoowrap\dist\objects\WikiPage.js:14:364
at new Promise (<anonymous>)
at C:\Users\james\OneDrive\Documents\GitHub\gort\node_modules\snoowrap\dist\objects\WikiPage.js:14:97
at WikiPage.edit (C:\Users\james\OneDrive\Documents\GitHub\gort\node_modules\snoowrap\dist\objects\WikiPage.js:164:7)
at C:\Users\james\OneDrive\Documents\GitHub\gort\dist\core\providers\usernotes.provider.js:44:18
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Node.js v17.3.1
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c npm run start" terminated with exit code: 1.
Would it be possible to use the full Reddit URL to watch someone? Eg &hal watch https://reddit.com/user/NAFI_S/
This would be in addition to the current option, just saves me having to delete all the extra characters if I copy the username from the app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.