aoijs / aoi.js

aoi.js - The most advanced string-based package to create a Discord Bot fast and powerful.
https://aoi.js.org
Apache License 2.0
339 stars 135 forks source link

$timeoutList #562

Closed Mody-0 closed 7 months ago

Mody-0 commented 7 months ago

Featuring Type

Function

So, what is it about?

We all know that timeouts now have a specific code that can be used to $stopTimeout but well that code sometimes gets lost if it's never been stored in a var. $timeoutList will help us get rid of that problem and let us get a list of all the active timeouts and their codes.

Code of Conduct

Faf4a commented 7 months ago

Thank you for this suggestion! We will consider adding this.

Faf4a commented 7 months ago

This was added in 6452125!

Mody-0 commented 7 months ago

Are you sure this function only gets active timeouts? cause I think it gets all the timeouts that were ever created on the bot. Also it kinda doesn't show the timeout name along with the code which is the most important part of the function, how am I gonna know which is which?

Pretty long list for only active timeouts, don't you think? image image

Faf4a commented 7 months ago

Oh, yeah we didn't actually delete old timeouts before. so.. whoops I guess

Mody-0 commented 7 months ago

So.. what we gonna do?