mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 02:29:10 +00:00
[bot]: finalize ts move, guess i forgot /shrug
This commit is contained in:
parent
8ad1735cc2
commit
3644e9482a
8 changed files with 10 additions and 30 deletions
|
@ -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}>`)
|
||||
|
||||
|
|
|
@ -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[] = [
|
||||
{
|
||||
|
|
|
@ -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[] = [
|
||||
|
|
|
@ -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[] = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// @flow
|
||||
import 'dotenv/config'
|
||||
import Bot from './Bot'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// @flow
|
||||
import chalk from 'chalk'
|
||||
|
||||
export class Logger {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// @flow
|
||||
import Bot from './Bot'
|
||||
import { Message } from 'eris'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue