mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 21:44:17 +02:00
refactor(arabot): remove old eslint ignores
This commit is contained in:
parent
8bc3b2dd4f
commit
81f5db4b0a
@ -506,7 +506,6 @@ export class VerificationJoinVCListener extends Listener {
|
|||||||
await giveVerificationRoles(user, info.roles);
|
await giveVerificationRoles(user, info.roles);
|
||||||
// Add timeout if they do not have activist role
|
// Add timeout if they do not have activist role
|
||||||
if (!info.roles.activist) {
|
if (!info.roles.activist) {
|
||||||
// @ts-ignore
|
|
||||||
this.container.tasks.create(
|
this.container.tasks.create(
|
||||||
'verifyUnblock',
|
'verifyUnblock',
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,6 @@ import IDs from '#utils/ids';
|
|||||||
* @returns {boolean} true if is in staff channel
|
* @returns {boolean} true if is in staff channel
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// eslint-disable-next-line import/prefer-default-export
|
|
||||||
export function checkStaff(channel: TextChannel) {
|
export function checkStaff(channel: TextChannel) {
|
||||||
if (channel.parent === null) {
|
if (channel.parent === null) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user