-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfg.php
36 lines (27 loc) · 987 Bytes
/
cfg.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
$con = mysqli_connect('xx.yy.xx.yy.xx', 'xxxxxx', 'yyyyyy', 'dbt');
// Check connection
if($con === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
# CLIENT ID
# https://i.imgur.com/GHI2ts5.png (screenshot)
$client_id = "BOT_CLIENT_ID";
# CLIENT SECRET
# https://i.imgur.com/r5dYANR.png (screenshot)
$secret_id = "BOT_SECRET_ID";
# SCOPES SEPARATED BY SPACE
# example: identify email guilds connections
$scopes = "identify";
# REDIRECT URL
# example: https://mydomain.com/includes/login.php
# example: https://mydomain.com/test/includes/login.php
# /steambot = path
$redirect_url = "http://YOUR_URL/steambot/login.php";
# IMPORTANT READ THIS:
# - Set the `$bot_token` to your bot token if you want to use guilds.join scope to add a member to your server
# - Check login.php for more detailed info on this.
# - Leave it as it is if you do not want to use 'guilds.join' scope.
# https://i.imgur.com/2tlOI4t.png (screenshot)
$bot_token = null;
?>