[bot]: finalize ts move, guess i forgot /shrug

This commit is contained in:
41666 2019-06-05 06:28:47 -05:00
parent 8ad1735cc2
commit 3644e9482a
No known key found for this signature in database
GPG key ID: DE08FAA8925DC747
8 changed files with 10 additions and 30 deletions

View file

@ -33,7 +33,7 @@ export default class Bot {
// $RPC: RPCClient
// rpc: typeof RPCClient
rpc: {[x: string]: Function}
commandCheck: RegExp = new RegExp(`^<@!?${process.env.DISCORD_CLIENT_ID}>`)

View file

@ -1,8 +1,7 @@
// @flow
import type { Command } from './_types'
import { Command } from './_types'
import { withTyping } from '../utils'
import type Bot from '../Bot'
import type { Message } from 'eris'
import Bot from '../Bot'
import { Message } from 'eris'
const cmds: Command[] = [
{

View file

@ -1,7 +1,6 @@
// @flow
import type { Command } from './_types'
import type Bot from '../Bot'
import type { Message } from 'eris'
import { Command } from './_types'
import Bot from '../Bot'
import { Message } from 'eris'
import { withTyping } from '../utils'
const cmds: Command[] = [

View file

@ -1,7 +1,6 @@
// @flow
import type { Command } from './_types'
import type Bot from '../Bot'
import type { Message } from 'eris'
import { Command } from './_types'
import Bot from '../Bot'
import { Message } from 'eris'
const cmds: Command[] = [
{

View file

@ -1,4 +1,3 @@
// @flow
import 'dotenv/config'
import Bot from './Bot'

View file

@ -1,4 +1,3 @@
// @flow
import chalk from 'chalk'
export class Logger {

View file

@ -1,4 +1,3 @@
// @flow
import Bot from './Bot'
import { Message } from 'eris'