aoe4bot's People
aoe4bot's Issues
!rank on unranked player returns null strings
!rank Serral
returns
Serral is unranked (null Elo), with null games (null-null | null%) [last played NaN min ago]
whereas we expect something like:
Serral is unranked, with 0 games
or
Serral is unranked in Ranked 1v1, with 0 games
(QM 1v1
for the other leadboard)
Cleanup !match output
Atm it already simplifies for more than 2 teams. But 4v4 gets too crowded
!winrate Threshold of 4 hours should be configurable
It should be possible to filter for 'last 24 hours' or 'last week'
Need deployment documentation
@orientalsniper asked for how to deploy to vercel. But I dunno what format vercel requires to recognize it as a vanilla nodejs app.
Atm I deploy it manually to a kubernetes cluster as docker container. With Dockerfile:
FROM node:15
WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
ENV PORT=8080
COPY index.js ./
COPY aoe4/ ./aoe4/
COPY views/ ./views/
RUN ls -al
EXPOSE 8080
CMD [ "node", "index.js" ]
Regardless, we should probably have some instructions on how to build and run it locally:
yarn install
yarn start
and some instructions on how to deploy.
Unknown result is considered a loss
When a match is not ongoing, the result is checked with team1W = result == 'win'
.
If the result is null, team1W
is set to false, so this evaluates to a loss: [${team1W?'W':'L'}]
When this happens, both teams are shown as having a loss.
Add @qm_1v1 support in !rank
Example: "!rank DeMuslim @qm_1v1" should display DeMuslims unranked 1v1 stats
Cleanup !winrate format
- Remove double quotes
- Omit (0-0 | 100%)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.