3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 00:05:04 +00:00
Commit graph

39 commits

Author SHA1 Message Date
Dragory
9f29056f68 Small code style tweak 2020-05-22 21:17:04 +03:00
Dark
e35d22d937 Fix "null" on server command for boost amount 2020-05-02 19:13:53 +02:00
Dark
25a2cc63c2 Fix error if game doesnt have small text or large text but only one 2020-04-09 23:33:16 +03:00
Dragory
3bbcbe6865 Code style fix 2020-04-03 16:42:30 +03:00
Dark
5d96a6b333 Enable checking for emoji, asset text and details when using -ss 2020-04-03 16:14:00 +03:00
roflmaoqwerty
430c7cd7e6 added a limit of 2048 to the resize command so it cant cripple the bot 2020-04-03 16:06:46 +03:00
roflmaoqwerty
218d968489 Created and implemented status search flag for search command 2020-01-28 22:25:49 +02:00
roflmaoqwerty
e7eabc62e9 !avatar now properly animates gif avatars (#34) 2020-01-28 22:21:03 +02:00
Dragory
278e45b055 Fix "Max online" number not being bolded in !server 2020-01-22 02:20:50 +02:00
Dragory
a1704112b6 Tweaks to !server numbers. Try to prevent unnecessary API calls.
!server can now also use numbers from the invite of servers with
a vanity URL.

API calls for the invite and the REST guild endpoint are now memoized.

Since Guild.fetchAllMembers() now returns a promise, tweaked
refreshMembersIfNeeded() to not make unnecessary API calls if called
multiple times in rapid succession.
2020-01-21 00:24:04 +02:00
Dragory
6650c109aa Make !server numbers more consistent
Offline member count is now derived from guild member count and
calculated online member count. The numbers might still not match the
real member counts, but at least they add up to the total member
count.

Eris 0.11.2 also made Guild.fetchAllMembers() return a promise, which
means !server will now properly wait for all members to load.
2020-01-21 00:00:47 +02:00
Dragory
00a1eaf4f7 Merge branch 'avatar-command' of git://github.com/roflmaoqwerty/ZeppelinBot into roflmaoqwerty-avatar-command 2020-01-18 11:19:10 +02:00
Dragory
72af3758d7 Add cooldown to !jumbo
Since the command uses extra server resources for resizing the image,
I want to limit its use a bit. Might look into a per-channel or
per-guild cooldown in the future rather than per-user, but this will
work for now.
2020-01-18 11:15:35 +02:00
Dragory
daf2f9dfaa Fix TS error with twemoji typings without dom lib
Including the dom lib doesn't make much sense since we're not in a
browser environment. While this solution isn't perfect either, I
think it's more fitting.
2020-01-18 11:12:11 +02:00
roflmaoqwerty
45e304a954 added avatar command 2020-01-15 00:41:20 +11:00
roflmaoqwerty
51a991baaf fixed default emotes for jumbo 2020-01-14 23:01:27 +11:00
roflmaoqwerty
7205aae5ef default emoji support for !jumbo 2020-01-14 18:46:53 +11:00
roflmaoqwerty
6c9cb78a21 implemented !jumbo 2020-01-14 18:46:53 +11:00
roflmaoqwerty
cda702d555 initial commit. Just need to implement gif resize 2020-01-14 18:46:52 +11:00
Dragory
0a92680a30 search: don't throw an error if the search results message is removed before the reactions are removed 2020-01-12 17:16:18 +02:00
Dragory
b4dbf246be Add more info to !server, and tweak formatting 2020-01-12 16:34:55 +02:00
roflmaoqwerty
a5fb1ee700 ran npm run format 2020-01-12 22:31:30 +11:00
roflmaoqwerty
f819b17075 changed almost all references of utils successMessage to this.sendSuccessMessage. Waiting on knub changes to finish this 2020-01-12 22:21:14 +11:00
Dragory
3d40783ae1 Run prettier and check tslint on entire codebase
Mainly to run these checks for the recent pull requests.
2020-01-12 11:48:31 +02:00
Miikka
1c0f69e80a Merge pull request #25 from roflmaoqwerty/compact-info
Add -compact/-c flag to !info
2020-01-12 11:45:29 +02:00
roflmaoqwerty
d8b3251472 fixed whitespace 2020-01-11 10:26:47 +11:00
roflmaoqwerty
771266d2fa Cleaned up code 2020-01-11 02:05:54 +11:00
roflmaoqwerty
a7b33cc026 Added compact switch to !info 2020-01-11 01:39:02 +11:00
roflmaoqwerty
ff6a922404 Converted all remaining boolean parameters to flags 2020-01-04 16:00:21 +11:00
roflmaoqwerty
44a4888f18 fixed case issue 2019-12-29 00:51:04 +11:00
Dragory
5930c13417 Add support for regex in !search via -regex/-re 2019-12-01 01:01:20 +02:00
Dragory
56f0e64b82 search: add -ids switch to list result ids; fix reactions from other messages affecting search results 2019-12-01 00:37:54 +02:00
Dragory
0112742093 utility: fix !clean response delete behaviour
The !clean response is intended to be deleted after a delay when
cleaning the current channel i.e. not specifying a different channel
to clean. This behaviour was reversed, so the response got deleted when
cleaning a different channel and stayed when cleaning the current
channel.
2019-11-30 22:23:11 +02:00
Dragory
b6b5b38494 utility: reply with archive url when !cleaning other channels 2019-11-30 22:22:25 +02:00
Dragory
bb97eb42ce utility: add --bot/-bot to !search to search for bot members 2019-11-30 22:16:57 +02:00
Dragory
282011ec4f utility: fix !search --export/-e only showing the first 15 results 2019-11-30 22:13:48 +02:00
Dragory
bf998b223c Add !context utility command 2019-11-30 19:54:44 +02:00
Dragory
56e350cb41 utility.about: fix git repo path; don't throw an error if a git repo is not found 2019-11-28 02:47:15 +02:00
Dragory
9250c84637 Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
Renamed from src/plugins/Utility.ts (Browse further)