Git Product home page Git Product logo

botman-driver-discord's Introduction

I am a dev, I do dev things like eating pizza and drinking rum.

Want do you want to dev with me? You can.

botman-driver-discord's People

Contributors

chinleung avatar feralheart avatar jabirchall avatar tommy-bolger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

botman-driver-discord's Issues

Using multiple sockets

I want to run more bots simultaneusly.
Can I configure the websocket url with a custom attribute?
For example:
bot1: websocketUrl?bot=testBot
bot2: websocketUrl?bot=musicBot

Composer error

I wanted to require it, but I got this error:

Could not find package jabirchall/botman-driver-discord at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability  

[BLOCKED] Botman react/socket outdated

This issue is to mark that we are trying to upgrade the discord driver. However, the botman base requires react/socket ^0.4 while the latest version is ^1.2 and multiple libraries we are using to upgrade the driver requires ^1.1. This is blocking us from releasing 1.1.0 of the driver

Ref: botman/botman#1001 (comment)

Bot is offline

I used this package with Botman Studio, and after the oAuth connection it connects to the server, but remains offline. Why?

Method [createForDiscord] does not exist.

Hey there,

I'm getting Method [createForDiscord] does not exist. when initiating botman. This is how it looks like on my end:

use BotMan\BotMan\BotManFactory;
use BotMan\BotMan\Drivers\DriverManager;
use React\EventLoop\Factory;

$config = [
    'discord' =>[
        'token' => "mytoken",

    ],
];

DriverManager::loadDriver(\JABirchall\BotMan\Drivers\Discord\DiscordDriver::class);
$loop = Factory::create();
$botman = BotManFactory::createForDiscord($config, $loop);

Did I miss anything?

How to run the provided example?

I try to run the example provided in the readme.

I filled the token config field by an actual Discord bot token.

Then I added the following code at the top to make the script work:

<?php

require_once ("./vendor/autoload.php");

use BotMan\BotMan\BotMan;
use BotMan\BotMan\BotManFactory;
use BotMan\BotMan\Drivers\DriverManager;
use BotMan\BotMan\Drivers\Discord\DiscordDriver;
use React\EventLoop\Factory;

When I run the script, the script keeps running, but the Discord bot is not connected.

What I'm missing?

Abandoned packages

Hi when i install the bot driver i get the following warning.

Package charlottedunois/validator is abandoned, you should avoid using it. No replacement was suggested.
Package charlottedunois/eventemitter is abandoned, you should avoid using it. No replacement was suggested.
Package charlottedunois/collection is abandoned, you should avoid using it. No replacement was suggested.
Package charlottedunois/yasmin is abandoned, you should avoid using it. No replacement was suggested.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.