{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":758761969,"defaultBranch":"master","name":"Runelite_ChatFilter","ownerLogin":"tfemby","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-02-17T02:34:36.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/137890355?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1708137282.72659","currentOid":""},"activityList":{"items":[{"before":"194655c0ec60ae9989f005720494d657bb83b997","after":"ef9c7e2198b3be0257cb74e8b5624ad7ea54e2e1","ref":"refs/heads/master","pushedAt":"2024-04-12T04:43:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Psicoses","name":"Psicoses","path":"/Psicoses","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1955065?s=80&v=4"},"commit":{"message":"Adding Word Boundary","shortMessageHtmlLink":"Adding Word Boundary"}},{"before":"f2cd0cd2c683b6088f9eeb7c177289ae1b54df99","after":"194655c0ec60ae9989f005720494d657bb83b997","ref":"refs/heads/master","pushedAt":"2024-04-07T07:31:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"Update Chatfilter\n\nThe bot from the previous request has changed it's phrase slightly. Making the `rs` portion of the string into reluctant quantifier capture groups should capture:\r\n\r\n`pengrs`\r\n`pengr`\r\n`pengs`\r\n\r\nExample of some of that bots messages as of today:\r\n\r\n`Discord.Gg/peng Looking to get Dizana's quiver? Join now!`\r\n`Discord.Gg/peng Blood Torva / Hard Mode Kits / Infernal capes!`\r\n`Discord.Gg/peng We offer Remote which means 0% Ban Rate!`\r\n`Discord.Gg/peng Tired of dying trying to get Quiver? Join now!`","shortMessageHtmlLink":"Update Chatfilter"}},{"before":"64d22738efaad21c7c0efc05583b9a2a4712fe0b","after":"f2cd0cd2c683b6088f9eeb7c177289ae1b54df99","ref":"refs/heads/master","pushedAt":"2024-04-07T07:24:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"Merge pull request #15 from tfemby/master\n\nNew spam bot block","shortMessageHtmlLink":"Merge pull request IamReallyOverrated#15 from tfemby/master"}},{"before":"c65a968adeb368db98a6e692db53d8ccd003314b","after":"64d22738efaad21c7c0efc05583b9a2a4712fe0b","ref":"refs/heads/master","pushedAt":"2024-04-02T13:00:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"New spam bot block\n\nSaw a few messages in my chat which were spamming these messages:\r\n\r\n`Discord.Gg/pengrs Blood Torva / Hard Mode Kits / Twisted Kits!`\r\n`Discord.Gg/pengrs Looking to get Dizana's quiver? Join now!`\r\n\r\nAdding the discord name should block this bot.","shortMessageHtmlLink":"New spam bot block"}},{"before":"02d904b99edd6dc4149f13c15c678297dc50818c","after":"c65a968adeb368db98a6e692db53d8ccd003314b","ref":"refs/heads/master","pushedAt":"2024-04-02T12:58:18.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"Adding specific advert\n\nInfernal cape seller InfernalMarket","shortMessageHtmlLink":"Adding specific advert"}},{"before":"197ef9a6a26e8d04c713ff17105b376d4a20bbd7","after":"02d904b99edd6dc4149f13c15c678297dc50818c","ref":"refs/heads/master","pushedAt":"2024-02-29T14:32:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"Split up of the large regex\n\nAs mentioned by @Psicoses in commit #81, I have split up the large regex into many smaller ones. I've mostly kept the `buying` part at the beginning and the `amount` part at the end of the regex.\r\n\r\nThis commit should also help with future maintenance work as one messed up change (like I did in my previous pull) won't be like, as Psiocses said, \"Finding a needle in a haystack.\"\r\n\r\nI feel that because this blew out into 12 separate regexs, it made sense to create it's own section.\r\n\r\nI have also removed some of the \"cruft\" that I believe the original large regex was being covered by other regexs in this file.\r\n\r\nI've also split each regex into 3 distinct parts:\r\n- Intention: buying or what you offer for\r\n- Item: ancestral set\r\n- Amount: 900m (This bit is optional with some of the bots)\r\n\r\nBecause the `amount` part of the message seems to be optional, I have made that final capture group a reluctant quantifier.\r\n\r\nPlease feel free to test this more. I have tested these changes with my alt in game and didn't come across anything where it was being too greedy.\r\n\r\nSome improvements could include non-greedy capture groups and leave the 3 sections outlined above as greedy in case we want to use a back reference for whatever reason.","shortMessageHtmlLink":"Split up of the large regex"}},{"before":"4c6c5bf9528350d2d3866a5e667a44ef0ebe3568","after":"197ef9a6a26e8d04c713ff17105b376d4a20bbd7","ref":"refs/heads/master","pushedAt":"2024-02-29T14:16:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"Quick removal for overly greedy rx\n\nRegex matches all strings beginning with a space. Removing immediately until a solution is found.","shortMessageHtmlLink":"Quick removal for overly greedy rx"}},{"before":"1ef9ace40a3ba4660463d9ae5754e7ea16314f32","after":"4c6c5bf9528350d2d3866a5e667a44ef0ebe3568","ref":"refs/heads/master","pushedAt":"2024-02-17T06:23:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"Added more from Issue 8\n\nShould now match cases where 'and' is being used:\n- Buying torva set 1.5b and zaryte cross 700m and scythe 1.2b\n\nNow allows for decimals in the amount of gold number:\n- scythe 1.2b\n\nAncestral set can be, 'anc set'","shortMessageHtmlLink":"Added more from Issue 8"}},{"before":"ec1585916b11138d5044b277df99cae8299212bd","after":"1ef9ace40a3ba4660463d9ae5754e7ea16314f32","ref":"refs/heads/master","pushedAt":"2024-02-17T04:19:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tfemby","name":"Daniella","path":"/tfemby","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/137890355?s=80&v=4"},"commit":{"message":"Buy/Selling regex cleanup\n\nThe regex formerly was made up of things I came across and appended to\nover time. I cleaned up the regex by combining some of the groups and\nadding a couple of new terms.\n\nNew Terms:\n- Masori items have been added to the 'sets' group\n- Added 'Zaryte' as a part of the 'crossbow' group '(arma(dyl)?|zaryte)?( c(ross|( )?bow)?)?'\n\nCleanup:\n- 'ancestral set' is now part of the 'masori|torva|bandos|armadyl|ancestral' group\n- 'inquisitors' has been also added to the above group\n- 'dwh' now matches against 'd(ragon)? (claws(s)?|w(ar)?h(ammer)?'\n instead\n- 'dhl' and 'dhcb' now match against 'd(ragon( )?)?h(unter)?( )?(c(ross| )+?b(ow)?|l(ance)?)'","shortMessageHtmlLink":"Buy/Selling regex cleanup"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAELrtq8QA","startCursor":null,"endCursor":null}},"title":"Activity ยท tfemby/Runelite_ChatFilter"}