Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2b9986a7fa | ||
![]() |
a41c73de5d | ||
![]() |
ac41d73518 | ||
![]() |
949958641e |
@@ -1,9 +1,29 @@
|
|||||||
mode: ContinuousDelivery
|
mode: ContinuousDelivery
|
||||||
branches:
|
branches:
|
||||||
develop:
|
|
||||||
increment: None
|
|
||||||
main:
|
main:
|
||||||
|
regex: ^master$|^main$
|
||||||
|
mode: ContinuousDelivery
|
||||||
|
tag: ''
|
||||||
increment: None
|
increment: None
|
||||||
|
prevent-increment-of-merged-branch-version: true
|
||||||
|
track-merge-target: false
|
||||||
|
source-branches: [ 'develop', 'release' ]
|
||||||
|
tracks-release-branches: false
|
||||||
|
is-release-branch: true
|
||||||
|
is-mainline: true
|
||||||
|
pre-release-weight: 55000
|
||||||
|
develop:
|
||||||
|
regex: ^dev(elop)?(ment)?$
|
||||||
|
mode: ContinuousDeployment
|
||||||
|
tag: pre
|
||||||
|
increment: None
|
||||||
|
prevent-increment-of-merged-branch-version: false
|
||||||
|
track-merge-target: true
|
||||||
|
source-branches: []
|
||||||
|
tracks-release-branches: true
|
||||||
|
is-release-branch: false
|
||||||
|
is-mainline: false
|
||||||
|
pre-release-weight: 0
|
||||||
ignore:
|
ignore:
|
||||||
sha: []
|
sha: []
|
||||||
merge-message-formats: {}
|
merge-message-formats: {}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"TOKEN": " ",
|
"TOKEN": "Bot_Token",
|
||||||
"LavaLinkPassword": " ",
|
"LavaLinkPassword": " ",
|
||||||
"SpotifyClientId": " ",
|
"SpotifyClientId": " ",
|
||||||
"SpotifyClientSecret": " ",
|
"SpotifyClientSecret": " ",
|
||||||
|
@@ -4,7 +4,6 @@ using Microsoft.Extensions.Logging;
|
|||||||
using DSharpPlus;
|
using DSharpPlus;
|
||||||
using DSharpPlus.EventArgs;
|
using DSharpPlus.EventArgs;
|
||||||
using DSharpPlus.Entities;
|
using DSharpPlus.Entities;
|
||||||
using DSharpPlus.Net;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using DSharpPlus.SlashCommands;
|
using DSharpPlus.SlashCommands;
|
||||||
using DSharpPlus.SlashCommands.EventArgs;
|
using DSharpPlus.SlashCommands.EventArgs;
|
||||||
@@ -77,7 +76,6 @@ namespace TomatenMusic
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// Lavalink
|
|
||||||
.AddSingleton<IDiscordClientWrapper, DiscordShardedClientWrapper>()
|
.AddSingleton<IDiscordClientWrapper, DiscordShardedClientWrapper>()
|
||||||
.AddSingleton<IAudioService, LavalinkNode>()
|
.AddSingleton<IAudioService, LavalinkNode>()
|
||||||
.AddSingleton(new InactivityTrackingOptions
|
.AddSingleton(new InactivityTrackingOptions
|
||||||
@@ -114,7 +112,6 @@ namespace TomatenMusic
|
|||||||
{
|
{
|
||||||
await BuildServiceProvider();
|
await BuildServiceProvider();
|
||||||
|
|
||||||
//_ = _host.StartAsync();
|
|
||||||
|
|
||||||
_host.Start();
|
_host.Start();
|
||||||
var client = ServiceProvider.GetRequiredService<DiscordShardedClient>();
|
var client = ServiceProvider.GetRequiredService<DiscordShardedClient>();
|
||||||
|
Reference in New Issue
Block a user