This commit is contained in:
parent
1869ae3887
commit
7bbb22535a
@ -12,5 +12,5 @@ Where `HidekoBot.jar` is the executable archive and `botToken` is your bot token
|
||||
|
||||
## Initial setup
|
||||
|
||||
After starting the bot up successfully, it will print an invite-link in your console. Click on the link to add your bot
|
||||
After successfully starting the bot up, it will print an invite-link in your console. Click on the link to add your bot
|
||||
to any server with the correct permissions already set-up.
|
@ -9,12 +9,14 @@ import javax.security.auth.login.LoginException;
|
||||
|
||||
public class HidekoBot
|
||||
{
|
||||
private static Logger logger = new Logger(HidekoBot.class);
|
||||
private static String botToken;
|
||||
private static String standardInviteLink = "https://discord.com/oauth2/authorize?client_id=%userid%&scope=bot&permissions=8";
|
||||
private static String botUserId;
|
||||
private static final String version = "0.0.1"; // we should probably find a way to make this consistent with Maven
|
||||
|
||||
private static final String version = "0.0.1";
|
||||
|
||||
// create a logger instance for ease of use
|
||||
private static final Logger logger = new Logger(HidekoBot.class);
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
@ -53,9 +55,6 @@ public class HidekoBot
|
||||
// log the invite-link to console so noob users can just click on it.
|
||||
logger.log("Bot User ID: " + botUserId, 5);
|
||||
logger.log("Invite Link: " + standardInviteLink, 5);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user