Git Product home page Git Product logo

bot-info's Introduction

Codinget

A smol README.md for my profile

whoami

A random dev who enjoys {programm,sysadmin,netamdin}ing a bit too much.
Grew up on Mandriva Linux, switched to Debian, and now using Alpine more and more.
Mains Lua/MoonScript, JavaScript/Typescript and Rust, but can write fairly good Python, Java and C.

ls ~/projects

  • container, a simple containerization script based on systemd-nspawn
  • rprompt, a small prompt for fish, zsh and bash, written in rust and moonscript
  • moonbuild, a small build system written in and using moonscript
  • brightnessctl, a simple suid binary to set the screen brightness
  • Snek, a "simple" Snake, done for my final JS class project
  • rmarcher, a small cpu-rendered raymarcher in Rust capable to load Lua scenes
  • mon, a simple system monitoring tool
  • and basically everything here, on my GitLab and GitDab

ls ~/upcoming-projects

  • dashboard, a small web dashboard for my server, using lapis
  • limglib, an image organization tool
  • lcontainer no repo yet, a lighter container system, not relying on systemd

ls ~/old-projects

  • prompt, a small prompt, mainly designed for fish, the old counterpart of rprompt
  • bot-info, a discord bot for the programming school I went to, to be replaced by Administrator by a newer student now that I left
  • toolbox, a small toolbox of CLI tools based on lua, mostly replaced by lua-command-tools

TODO

  • make the README
  • work on the project themselves

bot-info's People

Contributors

natnat-mc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bot-info's Issues

?remind list command

would be nice to have a command to see the reminds you set too when you'll implement the remove part

Clean code in reminder module

Promises shouldn't look like this. Period.

Make it a nice thing using Promise.all and not some hacked together piece of shit

Log system

Make a logging system (as a core api) that would append to files asynchronously according to log levels

?edt default arguments

?edt should take as default first argument whichever group the user is in, and as default second argument week. This can be implemented using the role property of the groups in the config JSON, and reading the roles of the users.

Add git commands

  • ?git fetch
  • ?git pull
  • ?git checkout <branch>
  • maybe more I'll think of when I'll have merged already

human-readable datetime module

As of now, dates or times are pretty inconsistent with the bot. This is unacceptable, because it leads to failed commands most of the time, or sometimes valid command that do not act as expected.

Considerations

  • be easy to use with natural input
  • be at least somewhat easy to interact with
  • only consume one argument
  • allow for different default values and units

Allowed formats

  • ISO 8601 dates
  • POSIX timestamps
  • <'+'|'-'><n>[unit] which works as an offset from either the current time or another default time
  • <D>/<M>/<Y>[ [h[:m[:s]]] which directly maps to a date and time

?switch

so we can know where we can use the switch to some game at noon

Improve command parser

  • Don't split with , read a command with quotes (which can be escaped)
  • allow substitution (@!id, @&id, @#id become mentions)
  • maybe something else I'll think about when everything will be broken

Restart mechanism

Write a wrapper that will restart the bot when it dies and at startup
Also write a ?restart command that kills the bot and restarts it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.