Skip to content

Commit

Permalink
PRE-RELEASE CONFERENCE VERSION!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronopoldo committed Dec 15, 2021
1 parent 8cf2b7b commit 0d0afe9
Show file tree
Hide file tree
Showing 27 changed files with 35 additions and 25 deletions.
16 changes: 8 additions & 8 deletions .breakpoints
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
"index": 0
}
],
"index.js": [
{
"id": "d9410dc1-818a-4cac-93cf-a8d8b383d8ae",
"line": 12,
"version": 24092,
"index": 434
}
],
"json.sqlite": [
{
"id": "7fbf42b7-a811-49fd-96be-9dfce60fac4f",
Expand All @@ -37,6 +29,14 @@
"version": 20,
"index": 101
}
],
"src/gift.js": [
{
"id": "b111d93c-d6bd-40d8-a41b-c45558daab3f",
"line": 43,
"version": 1220,
"index": 1750
}
]
}
}
2 changes: 1 addition & 1 deletion Background/beta/owned
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4
5
1 change: 1 addition & 0 deletions Background/space/description
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Тестовая тема для демонстрации 15 декабря.
2 changes: 2 additions & 0 deletions Background/space/displayName
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Космическая
тема
1 change: 1 addition & 0 deletions Background/space/forSale
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
true
Binary file added Background/space/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Background/space/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Background/space/owned
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3
1 change: 1 addition & 0 deletions Background/space/price
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5
Binary file modified Images/Borders/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/inventory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data/UserData/544902183007813652/badges/active
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0
22
19
2 changes: 1 addition & 1 deletion data/UserData/544902183007813652/config/theme
Original file line number Diff line number Diff line change
@@ -1 +1 @@
default
space
2 changes: 1 addition & 1 deletion data/UserData/544902183007813652/integers/SummarXP
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.4
9.000000000000002
2 changes: 1 addition & 1 deletion data/UserData/544902183007813652/integers/exp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7
5.1000000000000005
2 changes: 1 addition & 1 deletion data/UserData/544902183007813652/integers/lvl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
0
2 changes: 1 addition & 1 deletion data/UserData/544902183007813652/integers/money
Original file line number Diff line number Diff line change
@@ -1 +1 @@
51
33
Empty file.
1 change: 1 addition & 0 deletions data/UserData/544902183007813652/themes/beta
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2021-12-15T03:18:11.000Z
2 changes: 1 addition & 1 deletion data/UserData/544902183007813652/themes/default
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021-12-13T17:45:45.000Z
2021-12-15T02:39:44.000Z
1 change: 1 addition & 0 deletions data/UserData/544902183007813652/themes/space
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2021-12-15T03:48:01.000Z
2 changes: 1 addition & 1 deletion data/giftedArray
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dsad | dsadsa | ak | 544902183007813652 |
dsad | dsadsa | ak | 544902183007813652 |
2 changes: 1 addition & 1 deletion src/buy.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let ShopThemes = fs.readdirSync('./Background')
let owned = Number(fs.readFileSync('./Background/' + args[1].toLowerCase() + '/owned', "utf8"));
fs.writeFileSync('./Background/' + args[1].toLowerCase() + '/owned',(owned + 1).toString(), 'utf8', (err) => { console.log(err) })

msg.reply(owned.toString())
// msg.reply(owned.toString())

fs.writeFileSync('./data/UserData/' + msg.member.id + '/themes/' + args[1].toLowerCase(),CurrentDate, 'utf8', (err) => { console.log(err) })
userBalance = userBalance - price
Expand Down
8 changes: 4 additions & 4 deletions src/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ let fontsize = 70

NeededXP = Math.floor(NeededXP)

msg.reply(currentXP.toString() + '/' + NeededXP.toString())
// msg.reply(currentXP.toString() + '/' + NeededXP.toString())
ctx.fillText(NeededXP, 458, 400)
ctx.strokeText(NeededXP, 458, 400)

Expand Down Expand Up @@ -148,14 +148,14 @@ let Themes = fs.readdirSync('./data/UserData/' + msg.author.id + '/themes', "utf
ctx.font = fontsize + 'px "Main"'
ctx.fillText(User.tag, 220, 124)
console.log('Тег: ' + User.tag)
ctx.fillText(Money, 570, 204)
ctx.fillText(Money, 270, 208)
console.log('ДЕНЬГИ ВНЕСЕНЫ ' + Money)
console.log('Мани: ' + Money)
ctx.fillText(Level, 420, 204)
ctx.fillText(Level, 430, 208)
console.log('Мани: ' + Level)
console.log('VVV AMOUNT VVV')
console.log(Themes)
ctx.fillText(Themes.length , 270, 204)
ctx.fillText(Themes.length , 580, 208)
console.log('Мани: ' + Level)

// let out = fs.createWriteStream(pingedUser + 'temp.png')
Expand Down
2 changes: 2 additions & 0 deletions src/gift.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ console.log(pingedUser)
Guild.members.cache.find(user => user.id === pingedUser).roles.add(role);
msg.reply('<@' + pingedUser + '>')
msg.channel.send('https://media.discordapp.net/attachments/698853696817070164/920043674275037244/SPACITEOnDerzitMenya.gif')
let CurrentDate = new Date(new Date().toLocaleString("en-US", {timeZone: "Europe/Moscow"})).toJSON();
fs.writeFileSync('./data/UserData/' + msg.member.id + '/themes/2022', CurrentDate)
msg.channel.send('Подарок успешно подарен! <@' + pingedUser + '> получает лимитированную роль, а ты лимитированную тему "2022"! Проверь её при помощи `/inv`')
fs.appendFileSync('./data/giftedArray', msg.member.id + ' | ')
}else{
Expand Down
6 changes: 3 additions & 3 deletions src/inventory.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function invCommand(fs, msg, ctx, sharp, canvas, client)

let pg = 1
console.log('Unresolved Num: ' + pingedUser)
if (Number(pingedUser) != NaN){ msg.reply('Число прошло')
if (Number(pingedUser) != NaN){
}else {pingedUser = msg.member.id}
if (args[2] != undefined) { pg = args[2] } else
{
Expand Down Expand Up @@ -53,7 +53,7 @@ console.log('АЙДИ: ' + pingedUser)
pingedUser = msg.member.id

}
msg.reply(pingedUser + '|' + pg)
// msg.reply(pingedUser + '|' + pg)
client.users.fetch(pingedUser).then(User =>
{

Expand Down Expand Up @@ -191,7 +191,7 @@ console.log('1]./Background/' + totalArray[1] + '/icon.png')
console.log('2]./Background/' + totalArray[2] + '/icon.png')
console.log('3]./Background/' + totalArray[3] + '/icon.png')
sharp.cache(false);
sharp('./Images/shop.png')
sharp('./Images/inventory.png')
.resize(1024, 1024)
.composite([
{ input: './Background/' + totalArray[0] + '/icon.png', top: 130, left: 85},
Expand Down
Binary file added temp/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d0afe9

Please sign in to comment.