Coder Social home page Coder Social logo

crescentkohana / tohsakabot Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 4.81 MB

An all-around Discord bot written in Ruby. Includes an optional Rails frontend.

License: zlib License

Ruby 92.66% JavaScript 0.39% CSS 0.02% SCSS 1.29% HTML 5.65%
discord-bot discordrb ruby

tohsakabot's Introduction

日本語版はこちら

ℹ️ About me

Software Developer at MTI Ltd.. Bachelor of Computer Science at University of Helsinki, and Special Auditor at Kyoto University (2022-2023).

  • Go・HTTP API, gRPC API, performance, databases,
  • TypeScript & JavaScript・Node.js, React, Next.js, Vue, Nuxt.js
  • Java・Gradle, Maven, Micronaut, JavaFX
  • Ruby・Ruby on Rails, discordrb
  • Python・Flask
  • SQL・MySQL (MariaDB), PostgreSQL, SQLite
  • Rust・Beginner
  • Cloud・AWS, Azure
  • and more・Docker, HTML+CSS, regex, Protocol Buffers, Lua, LaTeX, Scrum, git, Linux, VSCode, IntelliJ IDEA

📫 How to reach me

💬 Languages

  • Finnish (suomi) - native
  • English (English) - fluent
  • Japanese (日本語) - fluent

Certificates

Click here to view Fullstack open course certificate DevOps with Docker course certificate Elements of AI course certificate Ethics of AI course certificate Introduction to Cyber Security course certificate Securing Software course certificate Cyber Security Project I 2021 certificate

Sources: Fullstack Open, DevOps with Docker, Elements of AI, Ethics of AI, Introduction to Cyber Security, Securing Software, Cyber Security Project I 2021

tohsakabot's People

Contributors

crescentkohana avatar dependabot[bot] avatar vogelchevalier avatar yli-hallila avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tohsakabot's Issues

Timed ranks

Add support for timed ranks (for example, add the ability to make the bot give you a rank every day at a certain time and also remove it at a certain time).

Proper error messages for triggerdelete

If you try to delete a trigger that isn't yours, the bot will just reply with "No triggers were deleted". It would be better if it gave more information, like why no triggers were deleted.

When removing multiple triggers the command could also give a detailed list of any operations that were not successful.

Modify reminders

It would be useful if users could modify reminders using the bot. Basically: ?remindermod

Reminder details

It might be useful to be able to get more information about a reminder using a command.

Example: ?reminderdetails 123

The output could be similar to what is displayed on the website:

  • ID
  • Datetime
  • Message
  • If it's repeated and how often
  • Channel

Multiple triggers with the same phrase

It might be smarter if the bot didn't allow users to create multiple triggers with the same phrase, because the bot now posts all the responses for the trigger at the same time.

Alternatively, the bot could choose one from the messages at random.

Trigger details

It might be useful to be able to get more information about a trigger using a command.

Example: ?triggerdetails 123

The output could be similar to what is displayed on the website:

  • ID
  • Options (also better explained than "100% any" maybe?)
  • (Server ID)
  • Phrase
  • Full reply (output of ?triggers is truncated)

Modify triggers

It would be useful if users could modify triggers using the bot. Basically: ?triggermod

Error when checking reminders in private messages

After about a minute when checking reminders in private messages using the ?reminders command, the bot removes the reminder list message but then displays an error:

Something went wrong! The bot doesn't have the required permission to do this!

Should the bot even attempt to remove the list when the command is used in private messages?

Reminders not showing error / success messages.

When creating new reminders the bot doesn't reply anything.

Steps to reproduce

a) ?remindme tomorrow at 9; no error

Or

b) ?remindme -d today at 17:00 -m no success message

But when checking ?reminders the reminder was successfully made!

Incorrect help message for remindme

Datetime: timestamp format is displayed as dd/mm/yyyy hh.mm.ss, but the command seems to expect mm/dd/yyyy

Message: message seems to require quotes (") around it, otherwise it only saves whatever comes before the first space. This is not reflected in the help message.

Also, the help message requires a rather wide screen resolution to be displayed properly.

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.