Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear old files #1

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using Newtonsoft.Json;
using SlvyDiscordBot.Command;
using SlvyDiscordBot.Slash_Commands;
using SlvyDiscordBot.Config;
using System;
using System.Collections.Generic;
using System.IO;
Expand Down Expand Up @@ -52,6 +51,7 @@ public async Task RunAsync()
{
Timeout = TimeSpan.FromMinutes(2)
});

//Client.Ready += OnReady;
// Commands Configuration
var commandsConfig = new CommandsNextConfiguration()
Expand All @@ -66,12 +66,8 @@ public async Task RunAsync()
Commands = Client.UseCommandsNext(commandsConfig);
var slashCommandsConfig = Client.UseSlashCommands();

Commands.RegisterCommands<FunCommands>();
Commands.RegisterCommands<GameCommand>();
Commands.RegisterCommands<Basics>();
Commands.RegisterCommands<Music>();
Commands.RegisterCommands<ActionCommands>();
Commands.RegisterCommands<ImageCommands>();

slashCommandsConfig.RegisterCommands<Funslc>();

Expand All @@ -80,14 +76,14 @@ public async Task RunAsync()
// Config of Lavalink
var endpoint = new ConnectionEndpoint
{
Hostname = "lavalink1.snooby.ml",
Hostname = "lava2.horizxon.tech",
Port = 443,
Secured = true,
};

var lavalinkConfig = new LavalinkConfiguration
{
Password = "discord.gg/6xpF6YqVDd",
Password = "horizxon.tech",
RestEndpoint = endpoint,
SocketEndpoint = endpoint,
};
Expand Down
329 changes: 0 additions & 329 deletions Command/ActionCommands.cs

This file was deleted.

Loading
Loading