SideProjectGuys / invite-manager-bot

A discord bot that tracks invites and much more
https://docs.invitemanager.co/
GNU General Public License v3.0
166 stars 135 forks source link

!addrank doesn't work #40

Closed AndreasGassmann closed 6 years ago

AndreasGassmann commented 6 years ago
1|discord- | 2018-04-26 05:38:54.741: [05:38:54][SHARD_00][LOG][Command]: InviteManager (Andy): !addrank @Supporter 20
1|discord- | 2018-04-26 05:38:54.754: Executing (default): INSERT INTO `roles` (`id`,`name`,`color`,`createdAt`,`guildId`,`updatedAt`) VALUES ('436694457451020289','Supporter','#9b59b6','2018-04-20 01:07:52','409846837571485698','2018-04-26 03:38:54') ON DUPLICATE KEY UPDATE `id`=VALUES(`id`), `name`=VALUES(`name`), `guildId`=VALUES(`guildId`), `color`=VALUES(`color`), `createdAt`=VALUES(`createdAt`), `updatedAt`=VALUES(`updatedAt`);
1|discord- | 2018-04-26 05:38:54.778: Executing (default): INSERT INTO `ranks` (`id`,`numInvites`,`deletedAt`,`guildId`,`roleId`,`createdAt`,`updatedAt`) VALUES (DEFAULT,20,NULL,'409846837571485698','436694457451020289','2018-04-26 03:38:54','2018-04-26 03:38:54') ON DUPLICATE KEY UPDATE `id`=VALUES(`id`), `guildId`=VALUES(`guildId`), `roleId`=VALUES(`roleId`), `numInvites`=VALUES(`numInvites`), `deletedAt`=VALUES(`deletedAt`), `updatedAt`=VALUES(`updatedAt`);
1|discord- | 2018-04-26 05:38:54.789: [05:38:54][SHARD_00][ERROR][Dispatch:add-rank]: TypeError: (intermediate value) is not iterable
1|discord- |     at default_1.action (/src/commands/rank-addRank.ts:45:25)
1|discord- |     at <anonymous>
AndreasGassmann commented 6 years ago

!fake @user