mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-06-25 18:07:09 +00:00
added initial version containing ping/echo command and first draft of the command handling structure
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package dev.sheldan.abstracto.service;
|
||||
|
||||
import net.dv8tion.jda.api.JDA;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.security.auth.login.LoginException;
|
||||
|
||||
@Service
|
||||
public interface Bot {
|
||||
void login() throws LoginException;
|
||||
JDA getInstance();
|
||||
void shutdown();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package dev.sheldan.abstracto.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.security.auth.login.LoginException;
|
||||
|
||||
@Service
|
||||
public interface Startup {
|
||||
public void startBot() throws LoginException;
|
||||
}
|
||||
Reference in New Issue
Block a user