Compare commits

...

6 commits

Author SHA1 Message Date
5970a4fe2d v0.1.3
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-09 18:55:19 +01:00
0596e01b8d .env to 0.1.3 2023-09-09 18:55:12 +01:00
b370c6f05e Fix drone script 2023-09-09 18:54:29 +01:00
f483467ba5 v0.1.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-09 18:53:08 +01:00
9058942ea5 Update version in .env to 0.1.2 2023-09-09 18:52:57 +01:00
63911f43b0 Fix reoll button not working
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-09 18:49:44 +01:00
6 changed files with 11 additions and 9 deletions

View file

@ -7,7 +7,7 @@
# any secret values. # any secret values.
BOT_TOKEN= BOT_TOKEN=
BOT_VER=0.1.1 DEV BOT_VER=0.1.3 DEV
BOT_AUTHOR=Vylpes BOT_AUTHOR=Vylpes
BOT_OWNERID=147392775707426816 BOT_OWNERID=147392775707426816
BOT_CLIENTID=682942374040961060 BOT_CLIENTID=682942374040961060
@ -26,4 +26,4 @@ DB_AUTH_PASS=dev
DB_SYNC=true DB_SYNC=true
DB_LOGGING=true DB_LOGGING=true
DB_CARD_FILE=:memory: DB_CARD_FILE=:memory:

View file

@ -7,7 +7,7 @@ steps:
- name: deploy - name: deploy
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: 192.168.68.121 host: 192.168.68.120
username: vylpes username: vylpes
password: password:
from_secret: ssh_password from_secret: ssh_password
@ -28,7 +28,7 @@ steps:
- name: stage - name: stage
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: 192.168.68.121 host: 192.168.68.120
username: vylpes username: vylpes
password: password:
from_secret: ssh_password from_secret: ssh_password

View file

@ -7,7 +7,7 @@
# any secret values. # any secret values.
BOT_TOKEN= BOT_TOKEN=
BOT_VER=0.1.1 BOT_VER=0.1.3
BOT_AUTHOR=Vylpes BOT_AUTHOR=Vylpes
BOT_OWNERID=147392775707426816 BOT_OWNERID=147392775707426816
BOT_CLIENTID=1093810443589529631 BOT_CLIENTID=1093810443589529631
@ -26,4 +26,4 @@ DB_AUTH_PASS=prod
DB_SYNC=false DB_SYNC=false
DB_LOGGING=false DB_LOGGING=false
DB_CARD_FILE=:memory: DB_CARD_FILE=:memory:

View file

@ -7,7 +7,7 @@
# any secret values. # any secret values.
BOT_TOKEN= BOT_TOKEN=
BOT_VER=0.1.1 BETA BOT_VER=0.1.3 BETA
BOT_AUTHOR=Vylpes BOT_AUTHOR=Vylpes
BOT_OWNERID=147392775707426816 BOT_OWNERID=147392775707426816
BOT_CLIENTID=1147976642942214235 BOT_CLIENTID=1147976642942214235
@ -26,4 +26,4 @@ DB_AUTH_PASS=stage
DB_SYNC=false DB_SYNC=false
DB_LOGGING=false DB_LOGGING=false
DB_CARD_FILE=:memory: DB_CARD_FILE=:memory:

View file

@ -1,6 +1,6 @@
{ {
"name": "card-drop", "name": "card-drop",
"version": "0.1.1", "version": "0.1.3",
"main": "./dist/bot.js", "main": "./dist/bot.js",
"typings": "./dist", "typings": "./dist",
"scripts": { "scripts": {

View file

@ -28,6 +28,8 @@ export default class Reroll extends ButtonEvent {
const image = readFileSync(randomCard.Path); const image = readFileSync(randomCard.Path);
await interaction.deferReply();
const attachment = new AttachmentBuilder(image, { name: randomCard.FileName }); const attachment = new AttachmentBuilder(image, { name: randomCard.FileName });
const embed = new EmbedBuilder() const embed = new EmbedBuilder()