import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import TypingDemo from '../demos/typing'; import RoleypolyDemo from '../demos/roleypoly'; import * as Actions from '../../actions'; import './styles.sass'; import discordLogo from '../../pages/images/discord-logo.svg'; export default class AddServer extends Component { polling = null; componentDidMount() { if (this.props.match.params.server !== undefined) { this.pollingStop = Actions.startServerPolling(this.props.dispatch); } } componentWillUnmount() { if (this.pollingStop != null) { this.pollingStop(); } } render() { return (
Roleypoly is a helper bot to help server members assign themselves roles on Discord.