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

Rewrite #18

Merged
merged 36 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2afc2da
Initial Commit
Joey0980 Feb 1, 2023
9af99ed
License
Joey0980 Feb 1, 2023
12941af
Working code
Joey0980 Feb 4, 2023
c3da4c2
Start of db integration
Joey0980 Feb 8, 2023
a3f8cf5
Initial commit
Joey0980 Apr 16, 2023
a6b1b68
i'm too tired to remember what I did
Joey0980 Apr 16, 2023
97de618
demo
Joey0980 Apr 20, 2023
51b80b3
Start scripts :)
GreenyDEV Apr 17, 2023
bf36bcb
Latest code
Joey0980 May 22, 2023
9885511
commit 2
Joey0980 May 24, 2023
cf5d4fd
Fix the context menu cmds
Joey0980 May 24, 2023
6f3420f
daily commit
Joey0980 May 25, 2023
6e352c4
95% done
Joey0980 Jun 1, 2023
2af938c
ok
Joey0980 Jun 8, 2023
2356587
Fix bot class
Joey0980 Jun 8, 2023
202c2e5
remove this for now as it's for a planned feature
Jun 8, 2023
5d9e285
Subcommands
Joey0980 Jun 11, 2023
a4f3b48
Modal permissions
Joey0980 Jun 11, 2023
ab80e10
Subcommand support
Joey0980 Jun 11, 2023
7cf655d
General DB polish
Joey0980 Jun 11, 2023
dc8ae48
Update .gitignore
Joey0980 Jun 11, 2023
6a5c28c
I can't be assed to make multiple commits, added enum for webhook and…
Joey0980 Jun 13, 2023
ac6ff0e
use cache for sendWebhook
Joey0980 Jun 13, 2023
369f270
general db edits and grammar
Joey0980 Jun 13, 2023
5454281
Example button when creating a group
Joey0980 Jun 13, 2023
b1ea1ab
NON-CRITICAL - edit example dispense button
Joey0980 Jun 14, 2023
0dd3957
Windows install script
Joey0980 Jun 14, 2023
2e6db4d
Delete Handler directory
Joey0980 Jun 15, 2023
aee68c5
Delete events directory
Joey0980 Jun 15, 2023
574b720
Delete commands directory
Joey0980 Jun 15, 2023
dda10a7
Delete _config.yml
Joey0980 Jun 15, 2023
a5321c8
Delete deploy-commands.js
Joey0980 Jun 15, 2023
d73c702
Delete colors.js
Joey0980 Jun 15, 2023
3d421a3
Delete index.js
Joey0980 Jun 15, 2023
a453711
Delete db.js
Joey0980 Jun 15, 2023
1419d18
Update README.md
Joey0980 Jun 15, 2023
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
31 changes: 15 additions & 16 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# Your bot token
TOKEN=
# !! THIS FILE IS A TEMPLATE FOR WHICH ENV VARS ARE USED
# !! VALUES IN THIS FILE SHOULD NOT BE EDITED
# !! THIS FILE WILL BE COMMITED!

# The ID of the server you are going to add the bot to.
GUILDID=
# The Discord bot token to login with (REQUIRED)
TOKEN=

# The ID of the bot profile
CLIENTID=
# The URL of the Postgres server to use as database (REQUIRED)
DATABASE_URL=""

# An array of bot owner IDs
OWNERID=
# The bot user ID for slash command deployment (REQUIRED)
CLIENT_ID=

# The text you see in the embeds of footers - i.e. "A Nebula service"
EMBEDFOOTERTEXT=
# The server ID to deploy commands to (Recommended for quick deployment)
GUILD_ID=

# These next few values are about reporting. If you leave them blank, the report feature will be disabled.
REPORTWEBHOOK=
REPORTUSERNAME=
REPORTAVATAR=
# The id of the bot owner (Not required)
OWNER_ID=

# The status displayed on your bot profile
STATUS=
# Cooldown time in ms (set to 0 to disable)
COOLDOWN_TIME=2000
16 changes: 13 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
node_modules
config.json
database.sqlite
.env
.env
/.idea
/.vscode
/.fleet

# dev files
/src/buttons/UniversalNoButton.ts
/src/commands/say.ts
/src/commands/eval.ts
/src/modals/EvalModal.ts

# build
/dist
165 changes: 0 additions & 165 deletions Handler/index.js

This file was deleted.

Loading