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

bur bur bur bur bubr #17

Open
wants to merge 200 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
0271ba6
Update index.js
RAFhub6 Jun 22, 2023
d65b2c9
Update index.js
RAFhub6 Jun 22, 2023
4fa8b96
Update index.js
RAFhub6 Jun 22, 2023
06a9c4c
Update index.js
RAFhub6 Jun 22, 2023
2ee5c17
Update index.js
RAFhub6 Jun 22, 2023
36438a4
Update index.js
RAFhub6 Jun 22, 2023
4dde6bc
Update index.js
RAFhub6 Jun 23, 2023
e26073c
Update index.js
RAFhub6 Jun 23, 2023
e9ede32
Update index.js
RAFhub6 Jun 23, 2023
f77e20d
Update index.js
RAFhub6 Jun 23, 2023
9dd2fff
Update index.js
RAFhub6 Jun 23, 2023
27a77ae
Update index.js
RAFhub6 Jun 23, 2023
b81b9cc
Update index.js
RAFhub6 Jun 23, 2023
344b64e
Update index.js
RAFhub6 Jun 23, 2023
ecbfc52
Update index.js
RAFhub6 Jun 23, 2023
743e43a
Update index.js
RAFhub6 Jun 23, 2023
68637e6
Update index.js
RAFhub6 Jun 23, 2023
fa545ee
Update index.js
RAFhub6 Jun 23, 2023
fe502d4
Update index.js
RAFhub6 Jun 23, 2023
8d77f5c
Update index.js
RAFhub6 Jun 23, 2023
ea96055
Update package.json
RAFhub6 Jun 23, 2023
9f900dd
Update index.js
RAFhub6 Jun 23, 2023
3a23c06
e
RAFhub6 Jun 23, 2023
3212f93
Update index.js
RAFhub6 Jun 23, 2023
4448a00
Update index.js
RAFhub6 Jun 23, 2023
47a5d95
Update index.js
RAFhub6 Jun 23, 2023
7add9f7
Update index.js
RAFhub6 Jun 23, 2023
9817e35
Update index.js
RAFhub6 Jun 23, 2023
ffcc4c0
Update index.js
RAFhub6 Jun 23, 2023
d9d71ec
Update index.js
RAFhub6 Jun 23, 2023
19dc9ab
Update index.js
RAFhub6 Jun 23, 2023
d3d7cea
Update index.js
RAFhub6 Jun 23, 2023
de78205
Update index.js
RAFhub6 Jun 23, 2023
58ec24b
Update index.js
RAFhub6 Jun 23, 2023
0728399
Update index.js
RAFhub6 Jun 23, 2023
cdb75fc
Update index.js
RAFhub6 Jun 23, 2023
eb9750c
Update index.js
RAFhub6 Jun 23, 2023
035b450
Update index.js
RAFhub6 Jun 23, 2023
85da142
e
RAFhub6 Jun 23, 2023
3b49fbf
ee
RAFhub6 Jun 24, 2023
8f600bf
au
RAFhub6 Jun 24, 2023
b0e8509
Update index.js
RAFhub6 Jun 24, 2023
94700b8
Update index.js
RAFhub6 Jun 24, 2023
4c16f1f
Update index.js
RAFhub6 Jun 24, 2023
25780cb
Update index.js
RAFhub6 Jun 24, 2023
86a460d
Update index.js
RAFhub6 Jun 24, 2023
6ddd82d
Update index.js
RAFhub6 Jun 24, 2023
f5a8e7e
Update index.js
RAFhub6 Jun 24, 2023
d0987cd
Update index.js
RAFhub6 Jun 24, 2023
b9f658c
Update index.js
RAFhub6 Jun 24, 2023
e4ea5a9
Update index.js
RAFhub6 Jun 24, 2023
dd78a2d
Update index.js
RAFhub6 Jun 24, 2023
be4f230
Update index.js
RAFhub6 Jun 24, 2023
b648785
Update index.js
RAFhub6 Jun 24, 2023
0c06b0d
Update index.js
RAFhub6 Jun 24, 2023
7759362
Update index.js
RAFhub6 Jun 24, 2023
a397957
Update index.js
RAFhub6 Jul 9, 2023
69f89a5
Update index.js
RAFhub6 Jul 9, 2023
90f9538
Update index.js
RAFhub6 Jul 9, 2023
6210c6e
the great 0.000000000000001 revamp
RAFhub6 Jul 10, 2023
c8fc852
Update index.js
RAFhub6 Jul 10, 2023
ff85b6f
e20281920
RAFhub6 Jul 10, 2023
6bfe2a4
7
RAFhub6 Jul 10, 2023
356e45b
1929292929292
RAFhub6 Jul 10, 2023
7fa49a7
generic unmajor commit 1
RAFhub6 Jul 10, 2023
00717df
du de du de du du do de da do
RAFhub6 Jul 10, 2023
c002d8d
uuajtugwiujmntr
RAFhub6 Jul 10, 2023
a330b91
yfe
RAFhub6 Jul 10, 2023
5439a25
the golden gate
RAFhub6 Jul 10, 2023
8f8cc70
golden gate mid low
RAFhub6 Jul 10, 2023
5038117
golen gate mid
RAFhub6 Jul 10, 2023
b149446
golden gate mid
RAFhub6 Jul 10, 2023
fe465ce
encrypt update + golden gate peak
RAFhub6 Jul 11, 2023
c5e62ba
bug fix 0.0.1
RAFhub6 Jul 11, 2023
7912818
bug fix 0.0.2
RAFhub6 Jul 11, 2023
324e7de
bug fix 0.0.2 improved
RAFhub6 Jul 11, 2023
c9d3ad0
bug fix 0.0.2 last improve
RAFhub6 Jul 11, 2023
8c5cfc8
Sometimes, some things are better left untold.
RAFhub6 Jul 11, 2023
ec78c88
716827
RAFhub6 Jul 11, 2023
c743897
du da do de du du da do de da de da
RAFhub6 Jul 11, 2023
986269a
iy8rwa7y4twinfiks
RAFhub6 Jul 11, 2023
745590c
uuhbjjk
RAFhub6 Jul 11, 2023
10ead64
dudodade
RAFhub6 Jul 11, 2023
68ceb98
87492892424
RAFhub6 Jul 11, 2023
14413cd
10210
RAFhub6 Jul 11, 2023
e95ac98
93932929
RAFhub6 Jul 11, 2023
b0e7631
eeeeeeeeeeeeeee
RAFhub6 Jul 11, 2023
04ffec1
COMMIT 101
RAFhub6 Jul 11, 2023
dbebc76
10101010101!!!!!!!!!!gryuaroryaryraaryrayraya
RAFhub6 Jul 11, 2023
87e1238
yes
RAFhub6 Jul 11, 2023
2b5f765
r298795u223
RAFhub6 Jul 11, 2023
757ff33
YES
RAFhub6 Jul 11, 2023
acf9f4a
ctrl entr
RAFhub6 Jul 11, 2023
a307b3b
e
RAFhub6 Jul 11, 2023
83b1470
rfjsmou8tijk348wo
RAFhub6 Jul 11, 2023
2e2736c
e
RAFhub6 Jul 11, 2023
5e84ad4
4e
RAFhub6 Jul 11, 2023
e655310
e
RAFhub6 Jul 11, 2023
f8756d9
217.2
RAFhub6 Jul 11, 2023
cd6f80b
8182918928718618371
RAFhub6 Jul 11, 2023
c6b994f
uyay
RAFhub6 Jul 11, 2023
e4ef09f
e
RAFhub6 Jul 11, 2023
968a1ab
n
RAFhub6 Jul 11, 2023
511d97a
DEPLOYMENT 101
RAFhub6 Jul 11, 2023
7c5371b
golden gate descend peak
RAFhub6 Jul 11, 2023
6c5cde9
rjjaiukta
RAFhub6 Jul 11, 2023
e6592ff
ttatatat
RAFhub6 Jul 11, 2023
5eaebba
e
RAFhub6 Jul 11, 2023
b62ca46
a
RAFhub6 Jul 11, 2023
02ecf4f
500 Internal Server Error
RAFhub6 Jul 12, 2023
2e74c55
[object GitHubLocalCommit]
RAFhub6 Jul 12, 2023
4543e37
i39399190138u3ij ojmgiskgssggss rtststsy
RAFhub6 Jul 12, 2023
a870c5f
yfhszg,yjfgm
RAFhub6 Jul 12, 2023
1e468c0
e
RAFhub6 Jul 12, 2023
8ad174d
e
RAFhub6 Jul 12, 2023
c9810ce
web update 0.1.2
RAFhub6 Jul 12, 2023
d08be4d
1
RAFhub6 Jul 12, 2023
055625a
e
RAFhub6 Jul 12, 2023
46ed164
real wheel
RAFhub6 Jul 12, 2023
38ab8bb
jthththt
RAFhub6 Jul 12, 2023
8f4cca2
rrrrr
RAFhub6 Jul 12, 2023
8c946bd
hex trys to save the day
RAFhub6 Jul 12, 2023
1ce77cd
hex didnt save the day but javainuse.com did
RAFhub6 Jul 12, 2023
9778b61
OH THE MISERY
RAFhub6 Jul 12, 2023
728dfb2
pointless commit 1
RAFhub6 Jul 12, 2023
2b2b100
e
RAFhub6 Jul 12, 2023
68bc7fe
e
RAFhub6 Jul 12, 2023
fab6d6b
node:crypto
RAFhub6 Jul 12, 2023
a6a739e
e
RAFhub6 Sep 2, 2023
5289080
121245456767585
RAFhub6 Sep 3, 2023
5e9a05e
e
RAFhub6 Sep 3, 2023
07997a9
Update index.js
RAFhub6 Apr 25, 2024
55b6b7e
Update index.js
RAFhub6 Apr 25, 2024
46b1e2e
Update index.js
RAFhub6 Apr 25, 2024
c320b7a
Update index.js
RAFhub6 Apr 25, 2024
555909a
Update index.js
RAFhub6 Apr 25, 2024
dc3fb4e
Update index.js
RAFhub6 Apr 25, 2024
11f5ed7
Update index.js
RAFhub6 Apr 25, 2024
16d8a4d
Update index.js
RAFhub6 Apr 25, 2024
ab3779a
Update index.js
RAFhub6 Apr 25, 2024
5cddeea
Update index.js
RAFhub6 Apr 25, 2024
e1ed337
Update index.js
RAFhub6 Apr 25, 2024
8450835
Update index.js
RAFhub6 Apr 25, 2024
3a12350
Update index.js
RAFhub6 Apr 25, 2024
72eff64
Update index.js
RAFhub6 Apr 25, 2024
86ae707
Update index.js
RAFhub6 Apr 25, 2024
c37d2b0
Update index.js
RAFhub6 Apr 25, 2024
7dac600
Update index.js
RAFhub6 Apr 25, 2024
0c334df
Update index.js
RAFhub6 Apr 25, 2024
01ec047
Update index.js
RAFhub6 Apr 26, 2024
8b7b151
Update index.js
RAFhub6 Apr 26, 2024
d13f3f1
Update index.js
RAFhub6 Apr 26, 2024
8dcacfe
Update index.js
RAFhub6 Apr 26, 2024
e30a61a
Update index.js
RAFhub6 Apr 26, 2024
36f1ee4
Update index.js
RAFhub6 Apr 26, 2024
2d0f372
Update index.js
RAFhub6 Apr 26, 2024
c989ec9
Update index.js
RAFhub6 Apr 26, 2024
ac1d23a
Update index.js
RAFhub6 Apr 26, 2024
6c2918b
Update index.js
RAFhub6 Apr 26, 2024
c0e32a2
Update index.js
RAFhub6 Apr 26, 2024
2a8c402
Update index.js
RAFhub6 Apr 26, 2024
2984234
Update index.js
RAFhub6 Apr 26, 2024
04bbf78
Update index.js
RAFhub6 Apr 26, 2024
41ca7f5
Update index.js
RAFhub6 Apr 26, 2024
53f142b
Update index.js
RAFhub6 Apr 26, 2024
8493fc6
thing
RAFhub6 Apr 26, 2024
bc59739
e
RAFhub6 Apr 26, 2024
cd2935a
h
RAFhub6 Apr 26, 2024
050bad3
e
RAFhub6 Apr 26, 2024
07bbc87
e
RAFhub6 Apr 26, 2024
6d96140
e
RAFhub6 Apr 26, 2024
52019b8
GO
RAFhub6 Apr 26, 2024
a216ff8
BRO GO
RAFhub6 Apr 26, 2024
bde5968
css update
RAFhub6 Apr 26, 2024
c5f381d
e
RAFhub6 Apr 26, 2024
4051c24
bro work
RAFhub6 Apr 26, 2024
0dcba3a
bro work for once
RAFhub6 Apr 26, 2024
05fec37
design update
RAFhub6 Apr 26, 2024
cef469c
css
RAFhub6 Apr 26, 2024
811514e
0.1.5 Game Update
RAFhub6 Apr 26, 2024
8bdbbd9
e
RAFhub6 Apr 26, 2024
db53422
e
RAFhub6 Apr 26, 2024
1c49d3e
e
RAFhub6 Apr 26, 2024
01ef571
hey
RAFhub6 Apr 26, 2024
17f5099
css
RAFhub6 Apr 26, 2024
545e867
e
RAFhub6 Apr 26, 2024
05430bf
j
RAFhub6 Apr 26, 2024
87b3a7d
tp
RAFhub6 Apr 26, 2024
58e5147
hey
RAFhub6 Apr 26, 2024
c5976d0
bruh
RAFhub6 Dec 5, 2024
90f3ce2
d
RAFhub6 Dec 5, 2024
7309dd2
upon one of the
RAFhub6 Dec 5, 2024
fd07f76
arar
RAFhub6 Dec 5, 2024
9bb14bf
sds
RAFhub6 Dec 5, 2024
a9ee983
skype
RAFhub6 Dec 5, 2024
2d3a60b
c
RAFhub6 Dec 5, 2024
c0c94d2
ujhuk
RAFhub6 Dec 5, 2024
d0931b1
ta
RAFhub6 Dec 5, 2024
a358d81
bduh
RAFhub6 Dec 6, 2024
01467a0
bur bur bur bur bubr
RAFhub6 Dec 7, 2024
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# starter-discord-bot


Follow these instructions after deploying this repo on Cyclic.sh

[![Deploy to Cyclic](https://deploy.cyclic.app/button.svg)](https://deploy.cyclic.app/)
Expand Down
24 changes: 24 additions & 0 deletions admin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const CyclicDb = require("@cyclic.sh/dynamodb")
const db = CyclicDb("charming-jade-dholeCyclicDB")
const key = process.env.ADMIN_API_KEY
var notes = db.collection("notes")
module.exports.ui = function(req,res) {
res.render("admin", {
"key": key
})
}
module.exports.api = function(req,res) {
commands = [
"message"
]
if (commands.includes(req.body.command) && req.body.value){
if (req.body.command == "message"){
notes.set("0",{
"message": req.body.value
})
}
res.json({"success": "Feature WIP"})
} else {
res.json({"error": "Invalid Command"})
}
}
43 changes: 43 additions & 0 deletions api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const { response } = require("express")
const database = require("./db_m")

module.exports = function(pref, req, res){
const data = req.body
const guild = req.params.guild
try {
if (data.type == "preferences") {
let currentprefs = data.pref
currentprefs.array.forEach(element => {
if (!database.valid_pref[element.name]){
return res.status(500).json({"type": "invalid preference", "misc": element.name})
}
});

if (currentprefs.color == "blue"){
currentprefs.color = 0x00FFFF
database.settings(pref, guild, currentprefs)
return res.status(200).json({"type":"success"}).json({"type":"success"})
} else if (currentprefs.color == "red"){
currentprefs.color = 0xFF0000
database.settings(pref, guild, currentprefs)
return res.status(200).json({"type":"success"})
} else if (currentprefs.color == "green"){
currentprefs.color = 0x00FF00
database.settings(pref, guild, currentprefs)
return res.status(200).json({"type":"success"})
} else if (currentprefs.color == "purple"){
currentprefs.color = 0x800080
database.settings(pref, guild, currentprefs)
return res.status(200).json({"type":"success"})
} else {
currentprefs.color = 0x00FFFF
database.settings(pref, guild, currentprefs)
return res.status(200).json({"type":"success"})
}
}
}catch(e){
console.error(e)
return res.status(500).json({"type": "error"})
}

}
58 changes: 58 additions & 0 deletions commands.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
const { SlashCommandBuilder, EmbedBuilder, ButtonBuilder } = require("discord.js");

module.exports = [
{
data: new SlashCommandBuilder()
.setName("help")
.setDescription("all commands"),
execute: async function(interaction){
const exampleEmbed = new EmbedBuilder()
.setColor(0x00FFFF)
.setTitle('? kakll Help (0.1.5 (Beta) Game Update) ?')
.setURL('https://starter-discord-bot-73vg.onrender.com/')
.setDescription('Commands and features for kaklll')
.addFields(
{ name: '/game', value: 'Play a game (WIP)' },
{ name: '/help', value: 'Help and commands' },
{ name: '/bobux', value: 'Bobux generator real' },
{ name: '/yo', value: 'Yo!' },
{ name: '/forms', value: 'Generate a form (WIP)' },
)
.setTimestamp()
.setFooter({ text: 'kakll bot made by syntax7311' });

await interaction.reply({ embeds: [exampleEmbed] });
}
},
{
data: new SlashCommandBuilder()
.setName("game")
.setDescription("play a game"),
execute: async function(interaction){
await interaction.reply({content:"W.I.P"})
}
},
{
data: new SlashCommandBuilder()
.setName("yo")
.setDescription("Yo!"),
execute: async function(interaction){
await interaction.reply({content:"Yo!"})
}
},
{
data: new SlashCommandBuilder()
.setName("forms")
.setDescription("Create a form"),
execute: async function (interaction) {
const embed = new EmbedBuilder()
.setTitle("A form has appeared")
.setDescription(interaction.data.options[0].value)
const button = new ButtonBuilder()
.setCustomId('button-')
.setLabel('Open ' + interaction.data.options[0].value)
.setStyle(ButtonStyle.Primary);
await interaction.reply({embeds:[embed,button]})
}
}
]
Loading