Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 05-28 00:36 <Dav999> So this white dialog bug is pretty fascinating
- 05-28 00:37 <Dav999> Basically, the animation variable normally goes from -15 to 16, where dialogs spawn with -15, that rolls to 0 for normal display, and when closing, 1 is added to that, and if > 0, it will roll to 16 (at which point it's considered closed)
- 05-28 00:38 <Dav999> Basically, if you try to close the dialog while it's almost fully closed, you can close it beyond 16
- 05-28 00:38 <Dav999> And when I wrote it, I made checks whether the animation variable equals 16, instead of greater than or equal to 16
- 05-28 00:39 <Info Teddy> nice
- 05-28 00:39 <Dav999> And the dialog also fades in and out, which is done with the alpha, and presumably negative alpha values mess the colors up to be fully white
- 05-28 00:39 <Info Teddy> xd
- 05-28 00:40 <Dav999> And this can happen if your FPS isn't nicely round or something, because the animation depends on the FPS - it won't go slower if your FPS is slower, but the animation variable will be added to with non-integer values
- 05-28 00:41 <Dav999> So 15.5 + 1 is 16.5
- 05-28 00:41 <Info Teddy> lmao
- 05-28 00:44 <Dav999> Normally this is pretty hard to time exactly right but if it lags, it becomes easier
- 05-28 00:44 <Info Teddy> ye
- And since it took a hilarious amount of effort to get one of three bots to give this archive without problems, here's how it went on:
- 05-28 00:51 <Dav999> \archive 15
- 05-28 00:51 <[\]> **`>`**``Dav999``**`#`**``\archive 15``
- ++==-==---+--------+-------=+-----------------------------------------------------------------+
- || ❗ |
- || Unable to find that channel. Please specify a channel ID, a name, or a mention. |
- ++--------------------------------------------------------------------------------------------+
- 05-28 00:51 <Dav999> \archive #ved 15
- 05-28 00:51 <[\]> **`>`**``Dav999``**`#`**``\archive #ved 15``
- ++==-==---+--------+-------=+-----------------------------------------------------------------+
- || ❗ |
- || Matched a voice channel - text-to-speech is not implemented. |
- ++--------------------------------------------------------------------------------------------+
- 05-28 00:51 <Dav999> Yay
- 05-28 00:52 <Dav999> ]archive #ved 25
- 05-28 00:52 <].> **`>`**``Dav999``**`#`**``]archive #ved 25``
- ++==-==---+--------+-------=+-----------------------------------------------------------------+
- || ❗ |
- || Unable to find that channel. Please specify a channel ID, a name, or a mention. |
- ++--------------------------------------------------------------------------------------------+
- 05-28 00:52 <Info Teddy> this is productive
- 05-28 00:52 <Dav999> Ok never mind, I'll not pastebin a chat log then
- 05-28 00:54 <Dav999> Ok, one last try
- 05-28 00:54 <Dav999> \archive 403718283855134720 35
- 05-28 00:54 <[\]> **`>`**``Dav999``**`#`**``\archive 403718283855134720 35``
- ++==-==---+--------+-------=+-----------------------------------------------------------------+
- || ❗ |
- || Matched a voice channel - text-to-speech is not implemented. |
- ++--------------------------------------------------------------------------------------------+
- 05-28 00:55 <Info Teddy> slash help archive
- 05-28 00:55 <[\]> **`>`**``Info Teddy``**`$`**``slash help archive``
- ++---=---=+==-----=+---====-+-----------------------------------------------------------------+
- || `\archive` – Create a chat log of the latest messages in a given channel. Not |
- || available for non-admins (yet). **Syntax**: `\archive <channel> [limit=100]` The maximum |
- || limit is determined by the `maxarchive` config setting, which is global for the bot. |
- ++--------------------------------------------------------------------------------------------+
- 05-28 00:55 <Dav999> @Info Teddy Something needs fixing
- 05-28 00:55 <Info Teddy> yes
- 05-28 00:55 <CinnamonKiwi> >>eval match_input("channel", 403718283855134720, guild)
- 05-28 00:55 <NekoBotBeta> ```py
- TypeError: match_input() takes 2 positional arguments but 3 were given
- ```
- 05-28 00:56 <CinnamonKiwi> >>eval match_input("channel", 403718283855134720, guild=guild)
- 05-28 00:56 <NekoBotBeta> ```py
- AttributeError: 'int' object has no attribute 'startswith'
- ```
- 05-28 00:56 <CinnamonKiwi> oh
- 05-28 00:56 <Dav999> +archive 450457324855885827 450459329192001547
- 05-28 00:56 <CinnamonKiwi> DAV
- 05-28 00:56 <CinnamonKiwi> THATS TOO MANY MESSAGES
- 05-28 00:56 <CinnamonKiwi> +help archive
- 05-28 00:56 <42>
- ++========+=--==--=+========+-----------------------------------------------------------------+
- || Help for `+archive` [1/30s] `+archive` e `+archive ['limit']` `+archive 'start id' |
- || 'limit'` `+archive 'limit' 'end id'` `+archive 'start id' 'end id'` To get a message's ID, |
- || go to settings > appearance and turn on Developer Mode. This adds a 'Copy ID' button to |
- || the message cog. |
- ++--------------------------------------------------------------------------------------------+
- 05-28 00:56 <Info Teddy> CAPS
- 05-28 00:56 <Dav999> Except I actually read the help
- 05-28 00:56 <CinnamonKiwi> oh, right
- 05-28 00:56 <Dav999> I wasn't actually going to break it
- 05-28 00:57 <Info Teddy> yes there is no other reason he picked those two seemingly-arbitrary numbers
- 05-28 00:57 <CinnamonKiwi> i wonder how that works though
- 05-28 00:57 <Dav999> I didn't get a DM, for the record
- 05-28 00:57 <Dav999> +archive 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement