diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2020-08-01 17:35:34 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2020-08-01 17:35:34 +0100 |
commit | 81beed4b8dd2e7fc5365cc5c344d20109d10e7db (patch) | |
tree | 87c0c1dad3ce79e91d11a8575a8a60182bf293d4 | |
parent | 4286c4a895548bdaaa190b248b43b1388e630a62 (diff) | |
download | SmallYTChannelBot-81beed4b8dd2e7fc5365cc5c344d20109d10e7db.tar.gz SmallYTChannelBot-81beed4b8dd2e7fc5365cc5c344d20109d10e7db.zip |
updated the readme
-rw-r--r-- | actions.log | 1 | ||||
-rwxr-xr-x | exampleconfig.json | 20 | ||||
-rwxr-xr-x | readme.md | 31 |
3 files changed, 26 insertions, 26 deletions
diff --git a/actions.log b/actions.log index d752a8e..2432f90 100644 --- a/actions.log +++ b/actions.log @@ -348518,3 +348518,4 @@ Traceback (most recent call last): ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth 21822 [2020-07-31 19:58:55,227] /u/_a_creative_username had their flair updated 21822 [2020-07-31 20:01:07,304] {ERROR} +3730 [2020-08-01 11:02:16,158] sdjfgdlkfgjdlk;g diff --git a/exampleconfig.json b/exampleconfig.json index 7217df7..3a8879c 100755 --- a/exampleconfig.json +++ b/exampleconfig.json @@ -1,20 +1,20 @@ { "redditapi": { - "client_id": "xxxxxxxxxxxxx", - "client_secret": "xxxxxxxxxxxxxxxxxxxxxxxx", - "user_agent": "xxxxxxxxxxxxxxx", - "username": "xxxxxxxxxxxxxxx", - "password": "xxxxxxxxxxxxxxxxxxxx" + "client_id": "xxxxxxxxxxxxxxx", + "client_secret": "xxxxxxxxxxxxxxxxxxxx", + "user_agent": "SmallYTChannelBot", + "username": "xxxxxxxxxxxxxxxxx", + "password": "xxxxxxxxxxxxxxxxxxxxx" }, "imgurapi": { - "client_id": "xxxxxxxxxxxxxxxxx", - "client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" + "client_id": "xxxxxxxxxxxxxxxxxxxx", + "client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "youtubeapi": { - "developer_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" + "developer_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "subreddit": "jwnskanzkwktest", "comment_tail": "\n\n\n ^/u/SmallYTChannelBot ^*made* ^*by* ^/u/jwnskanzkwk. ^*PM* ^*for* ^*bug* ^*reports.* ^*For* ^*more* ^*information,* ^*read* ^*the* ^[FAQ.](https://www.reddit.com/user/SmallYTChannelBot/comments/a4u7qj/smallytchannelbot_faq/)", @@ -29,7 +29,7 @@ "host": "localhost", "port": 3306, "user": "root", - "passwd": "xxxxxxxxxxxxxx", + "passwd": "xxxxxxxxxxxxxxxxx", "database": "SmallYTChannel" } -}
\ No newline at end of file +} @@ -1,34 +1,33 @@ # /u/SmallYTChannelBot Source Code -The source code for /u/SmallYTChannelBot. Currently refactoring is in progress. +The source code for /u/SmallYTChannelBot. This is a WIP branch that uses MySQL +instead of SQLite3 and is designed to work in a docker container. -# TODOs - -- [x] Automatically flair when [] is in submission title (done with AutoModerator) +# Docker -- [ ] Implement `!recheck` command to recheck already removed submissions +- Clone the repo -- [ ] Ignore bot commands when they're formatted as code (` ` or indentation) +- Edit the configuration file and rename -- [ ] Write a bot for the discord +- If applicable, download the newest SQLite3 database and run the migration script -- [ ] Implement a stream for edited comments +- Build the image: -- [x] Removed giving lambda in free posts +`sudo docker build -t smallytchannelbot:latest .` -- [x] Removed lambda for giving lambda +- Start the container: -- [x] Switched to using a JSON file for configuration, included template +`sudo docker run --name smallytchannelbot --net=host -d smallytchannelbot` -- [x] Refactored main code +# TODOs -- [x] Changed license from MIT to GPLv3 +- [ ] Implement `!recheck` command to recheck already removed submissions -- [x] Update flair when using the !takelambda command +- [ ] Ignore bot commands when they're formatted as code (` ` or indentation) -- [x] Reimplented the `!takelambda` command +- [ ] Write a bot for the discord -- [x] Change `!takelambda` to `!refundlambda` when negative +- [ ] Implement a stream for edited comments # About the database's structure |