Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Getting it working #144

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
30004c2
Started Working
elijahd123 Dec 26, 2022
b8b2434
Started Working 2
elijahd123 Dec 26, 2022
59d9f04
Merge branch 'main' of https://github.com/elijahd123/Trivia-Bot
elijahd123 Jan 9, 2023
ed1d973
Getting it working
alanschapira Jan 16, 2023
c0df533
Got a bit more working
alanschapira Jan 16, 2023
ab5deea
More progress
alanschapira Jan 30, 2023
f50358f
Made progress
alanschapira Feb 6, 2023
df28d2a
Cleaned up bugs and finished. More refactoring needed
alanschapira Feb 13, 2023
6445b00
A bit more formatting
alanschapira Feb 20, 2023
438d058
Better name
alanschapira Feb 20, 2023
32c8589
Updated
alanschapira Feb 20, 2023
f44042d
Cleaning up a bit
alanschapira Feb 21, 2023
63463a5
Made progress on mccompetitive
alanschapira Feb 27, 2023
ccaf0d0
tfchill done (couldn't test)
elijahd123 Feb 27, 2023
a95e2ac
fixed API and tfchill
elijahd123 Mar 13, 2023
e0dfd93
made constants file
elijahd123 Mar 13, 2023
9ae0f8c
Got mc competitive working
alanschapira Mar 20, 2023
eb6ba7b
Added tf competitive
alanschapira Mar 20, 2023
01f4620
refactored files and deleted unnecessary files
elijahd123 Mar 20, 2023
eaef249
refactor 2
elijahd123 Mar 20, 2023
df60d5c
Formatted
alanschapira Apr 14, 2023
a67be19
Removed notes
alanschapira Apr 14, 2023
c9f1417
Fixed conflicts
alanschapira Apr 14, 2023
29c627a
update discord.js version
elenirotsides May 27, 2023
98c52a4
Merge branch 'main' into getting-it-working
elenirotsides May 27, 2023
926448e
format
elenirotsides May 27, 2023
1f81e23
spelling fixes
elenirotsides May 27, 2023
27530b2
add eslint ignore next line
elenirotsides May 27, 2023
a4611ca
change question length constant
elenirotsides May 27, 2023
d61dccb
remove old comment
elenirotsides May 27, 2023
b5512c8
add codefactor readme sticker
elenirotsides May 27, 2023
76f8c56
update print width in prettierrc
elenirotsides May 27, 2023
fa679f9
fix naming mistakes
elenirotsides May 27, 2023
39faeb9
add help slash command and edit command descriptions
elenirotsides May 27, 2023
554cbbb
change followUp response to embed and other fixes
elenirotsides May 28, 2023
68c6204
simplify code that was overengineered
elenirotsides May 28, 2023
5b2d689
remove packages that are no longer needed
elenirotsides May 28, 2023
f6c4c5a
edit Dockerfile
elenirotsides May 28, 2023
85d8ed8
remove comments
elenirotsides May 28, 2023
7a69dec
add more intents and setActivity in ready event
elenirotsides Jun 4, 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
18 changes: 18 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
env: {
es2021: true,
},
extends: ['airbnb-base', 'prettier'],
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'import/prefer-default-export': 0,
'no-restricted-syntax': 0,
'no-plusplus': 0,
'import/extensions': 0,
'no-console': 0,
},
};
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.14.1
19 changes: 16 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleAttributePerLine": false,
"singleQuote": true,
"printWidth": 130
"tabWidth": 2,
elenirotsides marked this conversation as resolved.
Show resolved Hide resolved
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,8 @@ Trivia Bot is still an active work in progress and therefore, it has some _quirk
The Discord API limits what can be done with reactions (which is how Trivia Bot collects answers). The solution would be to disregard any other clicks after the first attempt has been executed. The issue relevant to fixing this can be found by clicking [here](https://github.com/elenirotsides/Trivia-Bot/issues/52).

- The bot will throw an error, can be seen [here](https://github.com/elenirotsides/Trivia-Bot/issues/110), about Permissions, but I have no idea what causes it or how to fix it. I am actively investigating this and I hope to find a solution soon!



## To do Alan and Elijah
If two people have same score, show them both as the same number
elenirotsides marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 0 additions & 3 deletions babel.config.json

This file was deleted.

Loading