You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

7h 8m logged

  • Added the /tag command: save preset messages that you can then send later (they can also contain embeds)
    it has the following subcommands:
  • content: set or remove the content of a tag
  • embed: add or remove an embed from a tag
  • delete: delete a tag
  • export: export all your tags as a JSON file
  • import: import the JSON file obtained from the export subcommand (in case of conflicts, the old and new tag will be previeable in the bot dashboard if enabled)
  • list: Display all your subcommands
  • get: Get the content & embeds of a specific subcommand
  • Fixed/Impoved the /embed command button & modal handlers & added an ID to buttons & modals to avoid 2 diff commands handling the same interaction
0
0
70
Open comments for this post

5h 34m 59s logged

  • Created the /gary command: get random images of 4 cats: Gary, Goober, Gulliber (Gully) and Garfield
  • Created the /ping command: get the bot’s ping (pic has high ping cuz it’s running on my laptop, in Italy)
  • Created the /botavatar command: change the bot avatar, either from a file, URL, copy from an user or copy from the bot owner
  • Created the /colorpicker command: give an HEX, RGB or HSL color and it displays it as well as showing its HEX, RGB and HSL variants
  • Added the /reminders command: set a reminder and the bot will send you a DM, reminder can either be single-run, multi-run and inifinitely run (the user defines an interval such as 30m, 2d15h etc., then the bot will send a DM with the reminder after this interval and will repeat it how many times the user defined it to, so if an user defines a reminder with 2h interval and 3 repeats, it will send the same reminder in 2h, 4h and 6h) (hope i explained well :pf: )
  • Switched database initialization from SchemaUtils to MigrationUtils this way if i edit a scheme, it’s also applied at startup instead of just creating new tables and never modifying them
  • Made the dashboard disableable
0
0
14
Open comments for this post

6h 31m 19s logged

  • Created the /minecraft command: allows to fetch
  1. Java and Bedrock edition server data (with mcstatus.io API)
  2. Player info (with Starlight API by lunareclipse.studio)
  3. Player skin rendered as a 3D model in different poses (with Starlight API)
  • Created the /embed command: send anything as an embed
  • Created the /qr command: encode some text into a QR Code (output can be an image or an ASCII text)
  • Updated the dashboard to add a static resource /skinModels which is used for the /minecraft skin sub command to fetch custom made models
  • Added a regex for HEX colors (matches #ffffff, #fff, ffffff and fff)
  • created a Minecraft object to collect all minecraft related functions
  • Created the starlight and mcstatus.io API services & added them in the API client
  • Update main handleRequest function to add an optional error handler
0
0
14
Open comments for this post

3h 35m 34s logged

  • Added the /8ball command: ask a question and get a random answer
  • Added topic command: get a random topic to start a conversation
  • Added /qalc command: execute calculation using libqalculate
  • Added /console command: run any shell command
  • Added /animal command: get a random animal (cat, dog, fox, duck)
  • Added /ip command: get info about an IPv4 or IPv6 address
  • Installed the retrofit libs required to make HTTP requests
  • Added a regex to check if a IPv4 or IPv6 is valid (took from networkingtoolbox.net)
  • Created util function to get the country flag & name from its code (took from my Hackatime android app)
0
0
18
Open comments for this post

5h 57m 19s logged

  • Added /http command: get a HTTP status with the picture of an animal like cat, dog, goat, duck etc.
  • Added /perms command: add/remove/list the users allowed to use a specific command
  • Added /status command: enable/disable specific commands
  • Added /dig: perform a dig query on a domain
  • Added /whois: perform a WHOIS query on a domain/IP/ASN
  • Fixed database upsert function erroring because no column was being passed as keys (primary)
  • Moved command registration to the onReady event
  • Installed a lib for DNS queries and a lib to check other libs updates
  • Added a utility Domain object that contains the function to perform dig and whois queries
  • Added utility functions to convert a ISO string, epoch seconds or Instant to discord time format
0
0
17
Open comments for this post

3h 32m 5s logged

  • Created the /eval command
  • Added the registration & handling of the commands (also checks if the user can run the command and if the command is enabled, by checking the enabled status and allowedUsers list in the command_permissions table)
  • Installed some libs to run code at runtime (JavaScript, Python and Kotlin (used in /eval)
0
0
7
Open comments for this post

4h 51m 22s logged

Created the base skeleton with the bot (w/ events), web dashboard (rn just shows “WIP” text) and database with the schemes & some helper functions


For the Discord bot i’m using the Kord library
For the web dashboard i’m using the Ktor library
This is the first time i use either of those 2 libs so my usage may not be the best :pf:

0
0
11

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…