Commit Graph
100 Commits
Author SHA1 Message Date
Kwoth d82e3bd444 Merge branch 'v3' of https://gitlab.com/kwoth/nadekobot into v3 2021-09-16 19:09:51 +02:00
Kwoth 2a1f45819d .waifugift pagination fixed - maximum number of pages properly scales with the number of items 2021-09-16 19:09:19 +02:00
Kwoth d2d0cb9e03 - Possible fix for .repeat bug
- Slight adjustment for repeater logic
  - Timer should no longer increase on some repeaters
  - Repeaters should no longer have periods when they're missing from the list
2021-09-16 07:19:08 +02:00
Kwoth ed039977c2 Release 3.0.3 2021-09-15 19:07:36 +02:00
Kwoth 786ede3290 Added .config games hangman.currency_reward and a property with the same name in games.yml 2021-09-15 01:50:48 +02:00
Kwoth 3edcca4927 Updated CHANGELOG.md, removed an unused enum 2021-09-15 01:30:26 +02:00
Kwoth 0635a0ddc8 Merge branch 'v3' of https://gitlab.com/kwoth/nadekobot into v3 2021-09-15 01:30:06 +02:00
Kwoth cccb37854c Added .imageonlychannel / .imageonly to prevent users from posting anything but images in the channel 2021-09-15 01:26:41 +02:00
Kwoth 35d549f4e6 Fixed .yun command help 2021-09-14 01:27:37 +02:00
Kwoth c0d81a5d9c as a shortcut for subscribing to a youtube channel's rss feed**** 2021-09-14 01:11:03 +02:00
Kwoth 711d6c7caa Added .youtubeuploadnotif / .yun as a shortcut to a subscribing channel's rss feed 2021-09-14 01:09:31 +02:00
Kwoth c12b41ddd1 Added .massban 2021-09-13 17:41:33 +02:00
Kwoth a5f9ac1540 .boostmsg will now properly show boost, and not greet message 2021-09-13 12:59:47 +02:00
Kwoth 8c5214def2 Ban .warnp will now prune user's messages 2021-09-13 01:30:11 +02:00
Kwoth 467a8bdaf6 Updated CHANGELOG.md 2021-09-12 22:09:32 +02:00
Kwoth d115261536 Fixed .log commands 2021-09-12 22:07:56 +02:00
Kwoth 0429210a73 .boost should now us the correct channel, and it should send a message for users boosting the same server more than once 2021-09-12 21:05:19 +02:00
Kwoth 8ee1160a00 Added .boost, .boostmsg and .boostdel commands which allow you to have customizable messages when someone boosts your server, with auto-deletion support
- Updated response embed colors in greet commands
- Updated .greetmsg and .byemsg command help to match the new .boost command help
2021-09-12 20:44:35 +02:00
Kwoth a27ea7a0aa Merge branch 'v3' of https://gitlab.com/kwoth/nadekobot into v3 2021-09-12 20:01:16 +02:00
Kwoth 37cdea4f6a Removed .novel command as it no longer works 2021-09-12 13:31:57 +02:00
Kwoth d028e23bc1 .timely will now correctly use Ok color 2021-09-12 01:22:13 +02:00
Kwoth 1df947d54b .rero now optionally takes a message id to which to attach the reaction roles 2021-09-12 01:07:19 +02:00
Kwoth 596a5c05e0 docs: Fixed more indentation in osx and migration guides 2021-09-12 00:18:54 +02:00
Kwoth 1d5a702b46 docs: Updated bot sharding guide in advanced creds guide, Added comments to coord.yml, Updated manual migration guide with correct indentation 2021-09-12 00:09:55 +02:00
Kwoth 712cb9300f docs: Fixed up jsons-explained.md (thx ala) 2021-09-11 22:48:48 +02:00
Kwoth ab0d013035 docs: removed from source sidebar link 2021-09-11 22:28:28 +02:00
Kwoth 46b384f0f4 Docs format and link fixes 2021-09-11 16:52:14 +02:00
Kwoth 1284312a55 Clarified that running the 2.x bot prior to migration is mandatory 2021-09-11 00:58:22 +02:00
Kwoth 42bdc6417c Updated osx guide with instructions on installing wget 2021-09-11 00:47:08 +02:00
Kwoth 3715dd4e00 Fixed version in the changelog 2021-09-11 00:16:14 +02:00
Kwoth ef13020d96 Updated changelog 2021-09-11 00:14:55 +02:00
Kwoth dd708d4b7c Slight change to windows updater migration guide 2021-09-11 00:03:52 +02:00
Kwoth 8735dcf94d Upped version to 3.0.1 2021-09-11 00:01:05 +02:00
Kwoth b6e03dcaed Fixed embedbuilder withimageurl and withurl (thx ene) 2021-09-10 20:43:28 +02:00
Kwoth 1785a27772 docs: Instruct users to run their old bots before updating to v3 2021-09-10 16:59:02 +02:00
Kwoth 9fbe43ec8f docs: removed minify entry from plugins in mkdocs 2021-09-09 20:56:25 +02:00
Kwoth d3878414e0 docs: Remove the incompatible package 2021-09-09 20:54:32 +02:00
Kwoth 00f9a05cfc Set setup tools to 57.5.0, possible fix for failing build 2021-09-09 20:44:00 +02:00
Kwoth d9e15a9abd Possible fix for broken docs build 2021-09-09 19:14:38 +02:00
Kwoth 8a5539448e Updated credentials.json references to creds.yml 2021-09-07 16:38:05 +02:00
Kwoth e005ec11fd Correct version in releases-v3.json, also it's an array 2021-09-07 16:31:37 +02:00
Kwoth dd8f36ee7a Possible fix for releases-v3.json upload 2021-09-07 00:56:00 +02:00
Kwoth 61355a900f Fixed contribution guide v3 branch link (Thx ala) 2021-09-06 22:32:27 +02:00
Kwoth b7553ac348 fix releases-v3.json 2021-09-06 21:34:55 +02:00
Kwoth c3586c7a6d Upped version to 3.0.0 2021-09-06 21:34:55 +02:00
Kwoth 2d398183e9 Updated links to be relative, updated readme with black theme. Small updates 2021-09-06 21:34:55 +02:00
Kwoth 442123a8ce Restored old readme format 2021-09-06 21:34:55 +02:00
Kwoth ae081a7697 - Deleted credentials.json which because it is replaced by creds.yml
- Updated mkdocs to have a reference to creds-guide and migration-guide
- Updated credentials.json references to say creds.yml and have proper yml formatting
2021-09-06 21:34:55 +02:00
Kwoth 2a8bb18e7c Moved guides from readme to docs. Refactored docs 2021-09-06 21:34:55 +02:00
Kwoth 3fd8beaaf6 Updated release description to be more visible 2021-09-06 21:34:55 +02:00
Kwoth e9169c56da Fixed releases-v3.json 2021-09-06 21:34:55 +02:00
Kwoth 498bcbfc9e Cleanup. Renamed releeases.json to releases-v3.json. Changed upload path. Added changelog link to release description 2021-09-06 21:34:55 +02:00
Kwoth b6438394f5 Added forgotten quote 2021-09-06 21:34:55 +02:00
Kwoth cb155c6c8a Fixed releases.json output dir. First upload .exe then upload release 2021-09-06 21:34:54 +02:00
Kwoth 3c3dfd16d5 Updated installer output path 2021-09-06 21:34:54 +02:00
Kwoth f430d86b64 Try to fix installer output dir 2021-09-06 21:34:54 +02:00
Kwoth 1212a9ed5f Added publish stage 2021-09-06 21:34:54 +02:00
Kwoth 9492a98ceb Comment out release stage temp 2021-09-06 21:34:54 +02:00
Kwoth ea254c2b6f WIP: Updated .gitlab-ci and exe_builder.iss to work with CI, allowing for automatic windows releases, testing 2021-09-06 21:34:54 +02:00
Kwoth 49a923ba95 Copy instead of renaming creds file during install if its missing 2021-09-06 21:34:54 +02:00
Kwoth bbb8d191ab Updated installation script for v3 2021-09-06 21:34:54 +02:00
Kwoth a95489be50 Completed work on instructions in README.md 2021-09-06 21:34:54 +02:00
Kwoth b0f6895449 - Completed linux release installation and update. Slightly reformatted
- Renamed linux and windows output folders in .gitlab-ci.yml
2021-09-06 21:34:54 +02:00
Kwoth 2cb7243b10 Updated publish stage to be called build, updated README.md with some instructions on how to install a release version for linux 2021-09-06 21:34:54 +02:00
Kwoth a278415618 CI should now publish the project for windows64 and linux64. WIP 2021-09-06 21:34:54 +02:00
Kwoth 88c005c50e - Removed unneeded package
- Fixed build not working on dotnet sdk older than 5.0.3xx, this was done by downgrading Microsoft.CodeAnalysis.CSharp to 3.8.0
2021-09-06 21:34:54 +02:00
Kwoth 75eca393af - Updated README.md
- Nhentai can no longer be ran in non-nsfw channels
2021-09-06 21:34:54 +02:00
Kwoth 5e83d5570d Fixed some migration issues which arose due to invalid database state. Upped version to beta3 2021-09-06 21:34:54 +02:00
Kwoth 5990430d5a Possible fix for permission drop table 2021-09-06 21:34:54 +02:00
Kwoth d67f0b1850 Ignore credentials.json.bak 2021-09-06 21:34:54 +02:00
Kwoth 3861b407dc Fixed GetText extension not adding string format params 2021-09-06 21:34:54 +02:00
Kwoth 43f4465a29 Fixed a typo and created a draft linux migration guide 2021-09-06 21:34:54 +02:00
Kwoth 0e248f0bf8 Removed a todo (gif now shows how to enable priviledged intent) and slight update to linux guide 2021-09-06 21:34:53 +02:00
Kwoth dc3517fe4b Updated .gitignore (added creds.yml) 2021-09-06 21:34:53 +02:00
Kwoth cfc8a51ce5 Removed creds.yml from src/NadekoBot and updated README.md slightly 2021-09-06 21:34:53 +02:00
Kwoth 79f785cd14 Updated CHANGELOG.md 2021-09-06 21:34:53 +02:00
Kwoth a7e2e1890c - Almopst completed windows from source guide
- Added output and src/NadekoBot/output folders to gitignore
2021-09-06 21:34:53 +02:00
Kwoth 0921d154cc Some work on docker support. Source generator is failing with a weird error. Updated readme and changelog 2021-09-06 21:34:53 +02:00
Kwoth 0107f7bad3 Removed cmd-versions.json (?) and added some explanatory README.md's for individual projects 2021-09-06 21:34:53 +02:00
Kwoth ddee6bc7c7 Removed nmearly all unused strings from responses.en-US.json. Left a few which might get used in the near future 2021-09-06 21:34:53 +02:00
Kwoth 991da3ed73 Removed around a half of unused response strings 2021-09-06 21:34:53 +02:00
Kwoth 565c1132fa Changed last few usages of old string based gettext. All strings now use new system. Needs testing 2021-09-06 21:34:53 +02:00
Kwoth 919bedeae6 Changed (almost) all responses to make them use the new system instead of raw strings
- Fixed many invalid string keys
2021-09-06 21:34:53 +02:00
Kwoth 4484732f5d - Fixed counting parameters which have formats in response strings
- Almost finished porting localized string keys as methods
- Compiles
2021-09-06 21:34:53 +02:00
Kwoth 0115d35247 WIP: rework of localized strings, instead of generic LocStr, LocStr is now a struct which contains both the key, and the values which should be put into the value's placeholders. strs' properties are now methods which take values as arguments, and properties if they don't 2021-09-06 21:34:53 +02:00
Kwoth 9d375dccee wip strings rework, experimenting, nothing works 2021-09-06 21:34:52 +02:00
Kwoth 70288f7670 Second iteration of source generated localized strings
- Strs renamed to strs
- Generic params will now default to object instead of string for convenient argument passing
- Many strings changed to use generated properties
2021-09-06 21:34:52 +02:00
Kwoth 34d0f66466 - Added NadekoBot.Generators projects which will contain source generators
- Implemented initial version of the response strings source generator
  - Creates a class with property names equivalent to key names in responses.en-US.json
  - Each Property has struct type (with generic type parameters matching the number of string format placeholders) for type safe GetText implementation
  - Struct types are readonly refs as they should be ephermal, and only used to pass string keys to GetText
2021-09-06 21:34:52 +02:00
Kwoth e67f659a8a Added a fix from 1.9 branch for repeaters 2021-09-06 21:34:52 +02:00
Kwoth b84f40def6 - Initial work on Dockerfile
- Updated README.md with more information
- Added some todos
2021-09-06 21:34:52 +02:00
Kwoth 971b5078b7 Updated readme 2021-09-06 21:34:52 +02:00
Kwoth 711b2e1dde updated README.md 2021-09-06 21:34:52 +02:00
Kwoth ff82c01291 Updated changelog 2021-09-06 21:34:52 +02:00
Kwoth 5d9320941a Added fixes from 1.9 branch:
- Custom reaction permission error fix
- Local tracks .lq fix after they're loaded from playlist
- Fixed some response strings
2021-09-06 21:34:52 +02:00
Kwoth 42d623b696 Replaced access to .Context with .ctx 2021-09-06 21:34:52 +02:00
Kwoth 3c33c55dda .warnp should accept roles only below your max role. Also added a custom error message 2021-09-06 21:34:52 +02:00
Kwoth 71da4d11c0 - Removed static color fields
- Removed unused code
- BanTemplate will get error color from bot config
2021-09-06 21:34:52 +02:00
Kwoth 0e81f2abf4 Upped version to beta2 2021-09-06 21:34:52 +02:00
Kwoth 8fb7239100 - Updated creds_example.yml
- Added credentials.json -> creds.yml migration
- Migrated credentials.json fields are:
  - Token
  - OwnerIds
  - GoogleApiKey
  - OsuApiKey
  - CleverbotApiKey
  - TotalShards (although you should set this from Coordinator's coord.yml TotalShards, so this setting will usually have no effect)
  - PatreonAccessToken and PatreonCampaignId
  - VotesUrl and VotesToken
  - BotListToken
  - RedisOptions
  - LocationIqApiKey and TimezoneDbApiKey
  - CoinmarketcapApiKey
2021-09-06 21:34:51 +02:00
Kwoth 0b71e9c28f - Removed some duplicated code from custom reactions
- CREmbed completely removed and replaced by SmartText
2021-09-06 21:34:51 +02:00