Dragory
54e5efcbdb
Merge branch 'ban-search' of git://github.com/roflmaoqwerty/ZeppelinBot into roflmaoqwerty-ban-search
2020-06-04 02:46:13 +03:00
Dragory
23a7b21698
Fix null values in supporter amounts
2020-05-30 03:54:03 +03:00
Dragory
64d633c820
Optimize !server by removing status counts
2020-05-28 01:50:26 +03:00
Dragory
f9568ab37b
Store supporters in the database
2020-05-28 01:29:51 +03:00
Dragory
7724c8f65b
Add supported to !about
2020-05-23 19:45:55 +03:00
roflmaoqwerty
dddbf5c096
refactored archive searcg into its own method. Updated ban and regular search to use these methods
2020-05-23 11:53:31 +10:00
Dragory
7299c671ad
Small code style tweak
2020-05-22 21:17:04 +03:00
roflmaoqwerty
f376b173cc
implemented ban search command. moved search rendering code to new method
2020-05-18 23:59:45 +10:00
roflmaoqwerty
d7e2cf8721
refactored search result format methods
2020-05-18 00:12:00 +10:00
roflmaoqwerty
54052d9237
implemented performBanSearch
2020-05-18 00:11:59 +10:00
Dark
d7bacc6721
Fix "null" on server command for boost amount
2020-05-02 19:13:53 +02:00
Dark
7a5b11597b
Fix error if game doesnt have small text or large text but only one
2020-04-09 23:33:16 +03:00
Dragory
a10cb27757
Code style fix
2020-04-03 16:42:30 +03:00
Dark
1eb0d8b985
Enable checking for emoji, asset text and details when using -ss
2020-04-03 16:14:00 +03:00
roflmaoqwerty
22982b8113
added a limit of 2048 to the resize command so it cant cripple the bot
2020-04-03 16:06:46 +03:00
roflmaoqwerty
77e5f429c5
Created and implemented status search flag for search command
2020-01-28 22:25:49 +02:00
roflmaoqwerty
d2dc69f35d
!avatar now properly animates gif avatars ( #34 )
2020-01-28 22:21:03 +02:00
Dragory
b641acb8cd
Fix "Max online" number not being bolded in !server
2020-01-22 02:20:50 +02:00
Dragory
6a5e71d7c1
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
ba647c69ce
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
f7cb29b15c
Merge branch 'avatar-command' of git://github.com/roflmaoqwerty/ZeppelinBot into roflmaoqwerty-avatar-command
2020-01-18 11:19:10 +02:00
Dragory
d1764d5f87
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
6d6bc735e9
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
a088476f96
added avatar command
2020-01-15 00:41:20 +11:00
roflmaoqwerty
c4d6556fe4
fixed default emotes for jumbo
2020-01-14 23:01:27 +11:00
roflmaoqwerty
b092dda079
default emoji support for !jumbo
2020-01-14 18:46:53 +11:00
roflmaoqwerty
08c1a2e9ac
implemented !jumbo
2020-01-14 18:46:53 +11:00
roflmaoqwerty
221da8c206
initial commit. Just need to implement gif resize
2020-01-14 18:46:52 +11:00
Dragory
bec583f96a
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
8a1df3f314
Add more info to !server, and tweak formatting
2020-01-12 16:34:55 +02:00
roflmaoqwerty
c532ab06fb
ran npm run format
2020-01-12 22:31:30 +11:00
roflmaoqwerty
af882627a1
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
1aceb55a87
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
65880d2e60
Merge pull request #25 from roflmaoqwerty/compact-info
...
Add -compact/-c flag to !info
2020-01-12 11:45:29 +02:00
roflmaoqwerty
1d1de40e35
fixed whitespace
2020-01-11 10:26:47 +11:00
roflmaoqwerty
4623475fb5
Cleaned up code
2020-01-11 02:05:54 +11:00
roflmaoqwerty
12d8b19561
Added compact switch to !info
2020-01-11 01:39:02 +11:00
roflmaoqwerty
25c88ae630
Converted all remaining boolean parameters to flags
2020-01-04 16:00:21 +11:00
roflmaoqwerty
b249ab7142
fixed case issue
2019-12-29 00:51:04 +11:00
Dragory
a0edd962f3
Add support for regex in !search via -regex/-re
2019-12-01 01:01:20 +02:00
Dragory
c1cb5a4ed7
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
b47872bf87
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
23a9a5e800
utility: reply with archive url when !cleaning other channels
2019-11-30 22:22:25 +02:00
Dragory
53e7c2f17d
utility: add --bot/-bot to !search to search for bot members
2019-11-30 22:16:57 +02:00
Dragory
17f34ffeb7
utility: fix !search --export/-e only showing the first 15 results
2019-11-30 22:13:48 +02:00
Dragory
64e1fbc10c
Add !context utility command
2019-11-30 19:54:44 +02:00
Dragory
f8444c1a3d
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
16111bbe84
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