Moved data to data folder, copied on compile
10
.gitignore
vendored
@ -9,13 +9,16 @@
|
|||||||
*.pfx
|
*.pfx
|
||||||
.vs
|
.vs
|
||||||
obj/
|
obj/
|
||||||
|
|
||||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
*.userprefs
|
*.userprefs
|
||||||
**/src/NadekoBot/bin
|
**/src/NadekoBot/bin
|
||||||
Tests/bin
|
Tests/bin
|
||||||
src/NadekoBot/credentials.json
|
src/NadekoBot/credentials.json
|
||||||
src/NadekoBot/project.lock.json
|
src/NadekoBot/project.lock.json
|
||||||
src/NadekoBot/data/*
|
src/NadekoBot/data/NadekoBot.db
|
||||||
|
src/NadekoBot/musicdata/*
|
||||||
|
src/NadekoBot/project.lock.json
|
||||||
|
|
||||||
# NuGet Packages
|
# NuGet Packages
|
||||||
*.nupkg
|
*.nupkg
|
||||||
@ -25,12 +28,7 @@ src/NadekoBot/data/*
|
|||||||
!**/packages/build/
|
!**/packages/build/
|
||||||
# Uncomment if necessary however generally it will be regenerated when needed
|
# Uncomment if necessary however generally it will be regenerated when needed
|
||||||
#!**/packages/repositories.config
|
#!**/packages/repositories.config
|
||||||
NadekoBot/bin/Debug/data/nadekobot.sqlite
|
|
||||||
NadekoBot/bin/Debug/data/config.json
|
|
||||||
NadekoBot/bin/Debug/data/ServerSpecificConfigs.json
|
|
||||||
NadekoBot.sln.iml
|
NadekoBot.sln.iml
|
||||||
.idea/workspace.xml
|
.idea/workspace.xml
|
||||||
.idea/vcs.xml
|
.idea/vcs.xml
|
||||||
.idea/modules.xml
|
.idea/modules.xml
|
||||||
NadekoBot/bin/Debug/data/config_xnaas.json
|
|
||||||
src/NadekoBot/project.lock.json
|
|
@ -57,8 +57,8 @@ namespace NadekoBot.Modules.Gambling
|
|||||||
var channel = (ITextChannel)imsg.Channel;
|
var channel = (ITextChannel)imsg.Channel;
|
||||||
|
|
||||||
AllDecks.AddOrUpdate(channel.Guild,
|
AllDecks.AddOrUpdate(channel.Guild,
|
||||||
(s) => new Cards(),
|
(g) => new Cards(),
|
||||||
(s, c) =>
|
(g, c) =>
|
||||||
{
|
{
|
||||||
c.Restart();
|
c.Restart();
|
||||||
return c;
|
return c;
|
||||||
|
@ -12,7 +12,7 @@ namespace NadekoBot.Services.Database.Impl
|
|||||||
{
|
{
|
||||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||||
{
|
{
|
||||||
optionsBuilder.UseSqlite("Filename=./NadekoBot.db");
|
optionsBuilder.UseSqlite("Filename=./data/NadekoBot.db");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
src/NadekoBot/data/currency_images/img1.jpg
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
src/NadekoBot/data/currency_images/img2.jpg
Normal file
After Width: | Height: | Size: 225 KiB |
BIN
src/NadekoBot/data/currency_images/img3.jpg
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
src/NadekoBot/data/images/cards/10_of_clubs.jpg
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
src/NadekoBot/data/images/cards/10_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
src/NadekoBot/data/images/cards/10_of_hearts.jpg
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
src/NadekoBot/data/images/cards/10_of_spades.jpg
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
src/NadekoBot/data/images/cards/2_of_clubs.jpg
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
src/NadekoBot/data/images/cards/2_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
src/NadekoBot/data/images/cards/2_of_hearts.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
src/NadekoBot/data/images/cards/2_of_spades.jpg
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
src/NadekoBot/data/images/cards/3_of_clubs.jpg
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
src/NadekoBot/data/images/cards/3_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/NadekoBot/data/images/cards/3_of_hearts.jpg
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
src/NadekoBot/data/images/cards/3_of_spades.jpg
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
src/NadekoBot/data/images/cards/4_of_clubs.jpg
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
src/NadekoBot/data/images/cards/4_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
src/NadekoBot/data/images/cards/4_of_hearts.jpg
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
src/NadekoBot/data/images/cards/4_of_spades.jpg
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
src/NadekoBot/data/images/cards/5_of_clubs.jpg
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
src/NadekoBot/data/images/cards/5_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
src/NadekoBot/data/images/cards/5_of_hearts.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
src/NadekoBot/data/images/cards/5_of_spades.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
src/NadekoBot/data/images/cards/6_of_clubs.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
src/NadekoBot/data/images/cards/6_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
src/NadekoBot/data/images/cards/6_of_hearts.jpg
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
src/NadekoBot/data/images/cards/6_of_spades.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
src/NadekoBot/data/images/cards/7_of_clubs.jpg
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
src/NadekoBot/data/images/cards/7_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
src/NadekoBot/data/images/cards/7_of_hearts.jpg
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
src/NadekoBot/data/images/cards/7_of_spades.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
src/NadekoBot/data/images/cards/8_of_clubs.jpg
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
src/NadekoBot/data/images/cards/8_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
src/NadekoBot/data/images/cards/8_of_hearts.jpg
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
src/NadekoBot/data/images/cards/8_of_spades.jpg
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
src/NadekoBot/data/images/cards/9_of_clubs.jpg
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
src/NadekoBot/data/images/cards/9_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
src/NadekoBot/data/images/cards/9_of_hearts.jpg
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
src/NadekoBot/data/images/cards/9_of_spades.jpg
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
src/NadekoBot/data/images/cards/ace_of_clubs.jpg
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
src/NadekoBot/data/images/cards/ace_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
src/NadekoBot/data/images/cards/ace_of_hearts.jpg
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/NadekoBot/data/images/cards/ace_of_spades.jpg
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
src/NadekoBot/data/images/cards/black_joker.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
src/NadekoBot/data/images/cards/jack_of_clubs.jpg
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
src/NadekoBot/data/images/cards/jack_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
src/NadekoBot/data/images/cards/jack_of_hearts.jpg
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
src/NadekoBot/data/images/cards/jack_of_spades.jpg
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
src/NadekoBot/data/images/cards/king_of_clubs.jpg
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
src/NadekoBot/data/images/cards/king_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
src/NadekoBot/data/images/cards/king_of_hearts.jpg
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
src/NadekoBot/data/images/cards/king_of_spades.jpg
Normal file
After Width: | Height: | Size: 9.0 KiB |
BIN
src/NadekoBot/data/images/cards/queen_of_clubs.jpg
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
src/NadekoBot/data/images/cards/queen_of_diamonds.jpg
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
src/NadekoBot/data/images/cards/queen_of_hearts.jpg
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
src/NadekoBot/data/images/cards/queen_of_spades.jpg
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
src/NadekoBot/data/images/cards/red_joker.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
src/NadekoBot/data/images/coins/heads.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
src/NadekoBot/data/images/coins/tails.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
src/NadekoBot/data/images/dice/0.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
src/NadekoBot/data/images/dice/1.png
Normal file
After Width: | Height: | Size: 1006 B |
BIN
src/NadekoBot/data/images/dice/2.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
src/NadekoBot/data/images/dice/3.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
src/NadekoBot/data/images/dice/4.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
src/NadekoBot/data/images/dice/5.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
src/NadekoBot/data/images/dice/6.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
src/NadekoBot/data/images/dice/7.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
src/NadekoBot/data/images/dice/8.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
src/NadekoBot/data/images/dice/9.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
src/NadekoBot/data/images/rip/rip.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/NadekoBot/data/images/rip/rose_overlay.png
Normal file
After Width: | Height: | Size: 18 KiB |
22774
src/NadekoBot/data/triviaquestions.json
Normal file
@ -7,9 +7,12 @@
|
|||||||
"emitEntryPoint": true,
|
"emitEntryPoint": true,
|
||||||
"allowUnsafe": true,
|
"allowUnsafe": true,
|
||||||
"compile": {
|
"compile": {
|
||||||
"exclude": [ "_Models", "_Classes", "_Modules" ]
|
"exclude": [ "_Models", "_Classes", "_Modules" ],
|
||||||
},
|
},
|
||||||
"define": []
|
"copyToOutput": {
|
||||||
|
"include": [ "data" ],
|
||||||
|
"exclude": [ "data/musicdata" ]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.NETCore.App": {
|
"Microsoft.NETCore.App": {
|
||||||
@ -32,7 +35,7 @@
|
|||||||
"Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final",
|
"Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
|
"Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
|
||||||
"CoreCLR-NCalc": "2.1.0",
|
"CoreCLR-NCalc": "2.1.0",
|
||||||
"ImageProcessorCore": "1.0.0-alpha1039"
|
"ImageProcessorCore": "1.0.0-alpha-1021"
|
||||||
},
|
},
|
||||||
"tools": {
|
"tools": {
|
||||||
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
|
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
|
||||||
|
@ -146,7 +146,7 @@
|
|||||||
"lib/netstandard1.3/Google.Apis.YouTube.v3.dll": {}
|
"lib/netstandard1.3/Google.Apis.YouTube.v3.dll": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ImageProcessorCore/1.0.0-alpha1039": {
|
"ImageProcessorCore/1.0.0-alpha-1021": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Collections": "4.0.11",
|
"System.Collections": "4.0.11",
|
||||||
@ -3411,12 +3411,12 @@
|
|||||||
"lib/portable-net45+netcore45+wpa81+wp8/Google.Apis.YouTube.v3.xml"
|
"lib/portable-net45+netcore45+wpa81+wp8/Google.Apis.YouTube.v3.xml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ImageProcessorCore/1.0.0-alpha1039": {
|
"ImageProcessorCore/1.0.0-alpha-1021": {
|
||||||
"sha512": "nNLCXniPRY+m59tIQRA71uQQGmbtL0GASzex7zIz0PH6M1/yHxgYtlXZQmeyfkJIrGhJmqJDlYwEu3aZxlTfHw==",
|
"sha512": "ItWOgl9z3E67X5WW6Qp9U0E8rmD9ZkBFPeywkuODASCEfuArc+g5viRo6cD8lXyu2TXDE/LAYlsvu6X5dSOP9w==",
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"path": "ImageProcessorCore/1.0.0-alpha1039",
|
"path": "ImageProcessorCore/1.0.0-alpha-1021",
|
||||||
"files": [
|
"files": [
|
||||||
"ImageProcessorCore.1.0.0-alpha1039.nupkg.sha512",
|
"ImageProcessorCore.1.0.0-alpha-1021.nupkg.sha512",
|
||||||
"ImageProcessorCore.nuspec",
|
"ImageProcessorCore.nuspec",
|
||||||
"lib/netstandard1.1/ImageProcessorCore.dll"
|
"lib/netstandard1.1/ImageProcessorCore.dll"
|
||||||
]
|
]
|
||||||
@ -9100,7 +9100,7 @@
|
|||||||
"Google.Apis.Customsearch.v1 >= 1.16.0.466",
|
"Google.Apis.Customsearch.v1 >= 1.16.0.466",
|
||||||
"Google.Apis.Urlshortener.v1 >= 1.15.0.138",
|
"Google.Apis.Urlshortener.v1 >= 1.15.0.138",
|
||||||
"Google.Apis.YouTube.v3 >= 1.15.0.582",
|
"Google.Apis.YouTube.v3 >= 1.15.0.582",
|
||||||
"ImageProcessorCore >= 1.0.0-alpha1039",
|
"ImageProcessorCore >= 1.0.0-alpha-1021",
|
||||||
"Microsoft.EntityFrameworkCore >= 1.0.0",
|
"Microsoft.EntityFrameworkCore >= 1.0.0",
|
||||||
"Microsoft.EntityFrameworkCore.Design >= 1.0.0-preview2-final",
|
"Microsoft.EntityFrameworkCore.Design >= 1.0.0-preview2-final",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite >= 1.0.0",
|
"Microsoft.EntityFrameworkCore.Sqlite >= 1.0.0",
|
||||||
|