Commit Graph

35 Commits

Author SHA1 Message Date
Kwoth
869b9d3b9d change: .hearthstone command will no longer show text
dev: removed html2markdown as it was only used for a fluff text of the hearthstone command
2024-05-13 19:09:35 +00:00
Kwoth
15f629ec53 dev: Using built in rng.Shuffle, using some new .net types, removed some transactions 2024-05-13 17:14:35 +00:00
Kwoth
e0819f760c Restructured the project structure back to the way it was, there's no reasonable way to split the modules 2024-04-26 22:26:24 +00:00
Kwoth
043ad98473 * Merged v4
* Completed some todos
* Fixed PermChecker
* Updated packages
* Upped version to alpha2
* Cleanup
2024-03-25 13:41:44 +00:00
Kwoth
069f8fab9d Cleaning up projects, project is building 2023-04-06 10:57:30 +02:00
Kwoth
affaaf2fab Using generic attributes for NadekoOptions now. Updated packages 2023-01-21 02:21:08 +01:00
Kwoth
30d7ff958b Initial v5 commit: Upped .net version to 7.0, Upped nadeko build version to 5.0.0. Disabled some warnings about lowercase types 2023-01-20 11:55:43 +01:00
Kwoth
b12e97a0a7 Added uncommited files. Fixed nullref in update loop when users gain voice xp 2022-07-18 04:44:27 +02:00
Kwoth
cb865d5012 Updated packages 2022-05-12 23:56:12 +02:00
Kwoth
b7d1fd1b47 Many IDisposable fixes. GlobalNadeko won't have file watchers for creds. Wallet simplified 2022-03-21 15:33:18 +01:00
Kwoth
57e65e5515 Coordinator fix 2022-03-21 01:52:32 +01:00
Kwoth
d9f371f994 Added logging to coordinator, downgraded framework to net5, downgraded grpc packages to 2.41 2022-03-19 11:19:08 +01:00
Kwoth
94e594ae8b Updated packages in coordinator and tests projects 2022-02-08 20:18:36 +01:00
Kwoth
1622eb05c9 Removed some useless code 2022-02-07 17:52:57 +01:00
Kwoth
d31cfcc5a8 - Updated changelog
- Updated all projects to .net6
- Added some exception handling to the cmd source generator
2022-02-01 08:52:40 +01:00
Kwoth
2ce3262d59 Fixed around 140 wrong namings and other refactorings which were marked as warnings 2022-01-08 11:51:41 +01:00
Kwoth
6c39044435 - Using PeriodicTimer in a few places instead of Timer
- Some small refactorings
- Fixed reference to non-existent command in bot.yml
2022-01-05 08:00:25 +01:00
Kwoth
44104bb0e4 Small cleanup 2021-12-28 10:50:30 +01:00
Kwoth
d1be56fbc1 Another attempt at fixing a weird coordinator bug 2021-12-19 01:56:30 +01:00
Kwoth
a38951b5ad atl will no longer post the translation if it's equivalent to the input message
updated packages
2021-12-17 16:26:14 +01:00
Kwoth
0187dd57ac Fixed an exception in coordinator preventing some shards from restarting 2021-12-05 08:47:33 +01: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
75eca393af - Updated README.md
- Nhentai can no longer be ran in non-nsfw channels
2021-09-06 21:34:54 +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
fd35d3a836 - Cleaned up completed todos
- Config Data won't be copied every time it's accessed now, but YamlDotNet doesnt' support records, so data is dangerously mutable, needs solution
2021-09-06 21:34:50 +02:00
Kwoth
3cc34bfdc3 Changed all .GetService to .GetRequiredService because no service should be ever missing. However most of these should be removed in one of the future patches. 2021-09-06 21:34:50 +02:00
Kwoth
1e90d7f7bb Small cleanup - fixed some namespaces and moved files 2021-09-06 21:34:49 +02:00
Kwoth
670b0aca96 - Bot now takes shard id (optional) and total shards (optional) command line arguments (changed from shard id and parent process id)
- Sharding with coordinator now works properly
- Documented creds.yml RestartCommand - it has no effect when coordinator is starting the bot
- Regenerated creds_example.yml
- Removed all db migrators as the v3 requires the user to have updated 2.x all the way
- TotalShards in creds.yml gets overriden by coord.yml's TotalShards if the bot is ran through coordinator (more precisely, by the command line argument to the bot)
- Coordinator now runs on http://localhost:3442 by default, you can change this in appsettings.json
    - This is done because of macos https issues
    - Primarily because https for regular users is a massive hassle. Coordinator shouldn't be exposed anyway
- Minor cleanup
2021-09-06 21:34:49 +02:00
Kwoth
34f6902c95 coord.yml updated 2021-09-06 21:34:48 +02:00
Kwoth
49f9b96755 One of the last major cleanups. All NadekoBot.Core.* namespaces renamed to NadekoBot.* 2021-09-06 21:34:48 +02:00
Kwoth
44fdd4ff23 Added ICoordinator for bots which arent' sharded (the ones which won't be using NadekoBot.Coordinator) 2021-09-06 21:34:47 +02:00
Kwoth
c86bf6f300 - NadekoBot class renamed to Bot
- Implemented grpc based coordinator. Supports restarting, killing single or all shards, as well as getting current shard statuses. (Adaptation of the one used by the public bot)
- Coord is setup via coord.yml file
- Methods from SelfService which deal with shard/bot restart etc have been moved to ICoordinator (with GrpcRemoteCoordinator being the default implementation atm)
- Vastly simplified NadekoBot/Program.cs
2021-09-06 21:34:46 +02:00
Kwoth
38c7f32a76 More cleanup
- Moved all bot files to src/NadekoBot
- Fixed tests path in ci
- Fixed some warnings in MusicService
- Cleaned up csproj slightly
2021-09-06 21:34:37 +02:00
Kwoth
91ecf9ca41 Restructured folders and project names, ci should be fixed 2021-09-06 21:29:51 +02:00