Kwoth
da849f7c7b
global using NadekoBot.Extensions
2021-12-23 08:04:00 +07:00
Kwoth
93b8bca018
Switch to discord.net 3.0.0
2021-12-23 08:02:23 +07:00
Kwoth
0b8c3b3f2b
Using humanizer to deal with time and string trimming in some cases. Removed unused methods. Currency output format improvement (will use guild locale now for some commands)
2021-12-21 05:16:53 +01:00
Kwoth
c66e491ce9
Implicit usings and more global usings
2021-12-21 02:36:47 +01:00
Kwoth
9223d78849
Removed redundant parenthesis
2021-12-20 03:54:30 +01:00
Kwoth
da2ee0c158
await usings and minor cleanup
2021-12-20 03:02:02 +01:00
Kwoth
1b2017024c
More target-typed new and redundant paranthesis cleanup
2021-12-20 00:33:11 +01:00
Kwoth
cd379fd308
vars and target-typed new
2021-12-20 00:15:39 +01:00
Kwoth
ee33313519
Global usings and file scoped namespaces
2021-12-19 05:14:11 +01:00
Kwoth
7bff20cc70
Upped version to 3.0.11
2021-12-17 23:41:31 +01:00
Kwoth
14f2851072
- you should be able to update your .atl now without disabling it
...
- capitalization of language input in .atl should no longer matter
2021-12-17 23:38:06 +01:00
Kwoth
59c0f2f4b3
Added graceful option to die (kill coordinator without killing shards)
2021-12-01 09:47:41 +01:00
Kwoth
219ca39cd1
Added .coordreload which will reload coord.yml when using NadekoBot.Coordinator
...
- bots with more than 1 shard will now use redis strings provider
2021-12-01 09:41:23 +01:00
Kwoth
1e6d0806d7
Fixed some console log spam which was incorrectly done by streamrole feature, upped version to 3.0.10 in stats
2021-12-01 07:02:01 +01:00
Kwoth
8499e1da70
Updated changelog, upped version in the stats to 3.0.9
2021-11-24 01:51:34 +01:00
Kwoth
a2ea806bed
Removed slot.numbers from images.yml as they're no longer used anywhere, thx ala
2021-11-24 01:49:03 +01:00
Kwoth
06c20c6fa4
Patreon Access and Refresh Tokens should now be automatically updated
2021-11-17 18:45:49 +00:00
Kwoth
dc344caec6
Version upped to 3.0.8
2021-11-03 15:23:45 +01:00
Kwoth
d090aa23ee
Slots redesign nad images moved to images.yml
2021-11-03 14:22:51 +00:00
Kaoticz
92365fd22d
Fixed memory counter not refreshing over time
2021-10-17 22:56:10 +00:00
Kwoth
24a4745193
Merge branch 'v3-dev' into 'v3'
...
Created VotesApi project nad re-worked vote rewards handling
See merge request Kwoth/nadekobot!172
2021-10-15 22:06:30 +00:00
Kwoth
1af75fd813
Created VotesApi project nad re-worked vote rewards handling
2021-10-15 22:06:30 +00:00
Kaoticz
2fd7d97025
Corrected memory usage on StatusService
2021-10-15 22:04:30 +00:00
Kwoth
db7cf3d757
Upped version to 3.0.7, Updated changelog
2021-10-05 13:12:28 +02:00
Kwoth
52c9ec670d
Upped version to 3.0.6. Slightly updated hangman help string
2021-09-27 10:57:10 +02:00
Kwoth
2d92424dd4
Version upped to 3.0.5
2021-09-20 19:45:13 +02:00
Kwoth
e70a91ae60
Fixed images not automatically reloading on startup if the keys don't exist
2021-09-17 17:10:38 +02:00
Kwoth
2cbb4ecd3d
Version upped to 3.0.4
2021-09-16 23:10:19 +02:00
Kwoth
ed039977c2
Release 3.0.3
2021-09-15 19:07:36 +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
1df947d54b
.rero now optionally takes a message id to which to attach the reaction roles
2021-09-12 01:07:19 +02:00
Kwoth
8735dcf94d
Upped version to 3.0.1
2021-09-11 00:01:05 +02:00
Kwoth
8a5539448e
Updated credentials.json references to creds.yml
2021-09-07 16:38:05 +02:00
Kwoth
c3586c7a6d
Upped version to 3.0.0
2021-09-06 21:34:55 +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
b84f40def6
- Initial work on Dockerfile
...
- Updated README.md with more information
- Added some todos
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
5e4754fa40
- Reworked embed builder
...
- Use IEmbedBuilderService to create embed builders
- Wrapped embed builder and using IEmbedBuilder
2021-09-06 21:34:51 +02:00
Kwoth
0fc5f540d8
- Added Cloneable deep clone source generator nuget package
...
- Configs are no cloned using generated clone, not by serializing/deserializing
- Arrays/Lists (collections in geneeral) are still not cloned properly
- Removed GetRawData from config as it is no longer needed, new clone is very fast
- Added ICloneable<T> which all configs implement
- Cleaned up config classes/code
2021-09-06 21:34:50 +02:00
Kwoth
aeb6f8662c
Early behavior fixups:
...
- Priorities are now higher number -> higher priority
- Priorities are now actually respected
- Early behaviors now print custom messages when they perform an action (Filter trigger, blacklist, poll vote, etc)
- small cleanup
2021-09-06 21:34:50 +02:00
Kwoth
e681978f83
- xp template reload now uses new pubsub
...
- multiplexer.GetSubscriber().subscribe is no longer used in any service
- fixed some build warnings
2021-09-06 21:34:50 +02:00
Kwoth
65b4c1fab7
- Owner only attributes will now use fresh creds every time (no need for restart for owner only commands to start working once creds are changed)
...
- setgame/setstream use the new pubsub (also setstream will actually apply to all shards now)
- setgame/setstream moved to SelfService
- small cleanup
2021-09-06 21:34:49 +02:00
Kwoth
873eaa290e
- fixed remote coordinator being initialized when local one is supposed to be used
...
- Fixed services loading multiple times
- cleaned up service adding with scrutor
- INService moved from some interfaces to concrete implementation
2021-09-06 21:34:49 +02:00
Kwoth
9f34f8f00f
Don't load executor behaviors as a dep, but initialize after all services are loaded. Experimenting on services
2021-09-06 21:34:49 +02:00
Kwoth
3c82c1f919
- Started cleanup of command handler
...
- Removed IUnloadableService
- Started removing INService (removed it from services which implement behavior interfaces) - wip
- Added scrutor for better service registration - wip
2021-09-06 21:34:49 +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
a1ef862382
- small bot.cs cleanup
...
- creds.yml now loads and reloads properly (from the current directory, like credentials.json)
- added empty creds.yml to repo, and added it to .gitignore
2021-09-06 21:34:49 +02:00