Git Product home page Git Product logo

ddinan / tsuyo Goto Github PK

View Code? Open in Web Editor NEW
146.0 8.0 59.0 3.57 MB

๐Ÿค– A light-weight and easy-to-use modular Discord bot built with DiscordJS.

Home Page: http://tsuyo.xyz

License: MIT License

JavaScript 90.17% Dockerfile 0.05% Makefile 0.03% CSS 2.30% Batchfile 0.01% Shell 0.02% EJS 7.41% Procfile 0.01%
bot discord discordjs tsuyo moderation logging utility fun economy levels

tsuyo's Introduction

Cover

๐Ÿ‘‹ Who am I?

Hi, I design websites, web-apps and software. My languages consist of HTML/CSS, PHP/SQL, JavaScript, C# and Python. I'm currently not available for hire but this could change soon.

โญ Some of my more noticeable projects are:

๐Ÿ’€ Tsuyo, an open-source Discord bot for moderating your server.

๐Ÿ’ฌ Comiq, an upcoming comic-making and sharing social network.

My GitHub Statistics

General statistics

Trophies

Trophies

Languages and tools

HTML CSS JavaScript CSS Ruby

tsuyo's People

Contributors

ddinan avatar dependabot[bot] avatar felixfong227 avatar icreatedthistodeletemyaccounts avatar neko-is-kitty avatar pistasjis avatar rhino149 avatar vilot avatar wzhouwzhou avatar x0r1 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tsuyo's Issues

Aliases not defined?

[Tsuyo] โ†’ INFO:  Loading command: 50. Command 1
[Tsuyo] โ†’ INFO:  Loading command: 8ball. Command 2
[Tsuyo] โœ˜ ERR:   TypeError: Cannot read property 'aliases' of undefined
    at C:\Users\akyra\Desktop\Bots\Tsuyo\modules\commands.js:33:18
    at Array.forEach (<anonymous>)
    at C:\Users\akyra\Desktop\Bots\Tsuyo\modules\commands.js:18:11
    at FSReqCallback.oncomplete (fs.js:164:23)

Nice bot

Looks like you wrote a lot of the code yourself, especially with the V12 update! ๐Ÿ‘

I mean especially modules/errors.is, what an innovative idea! You even gave credit to the creators ๐Ÿ˜ณ

Use cookies for web dashboard and fix redirect bug

Error: listen EADDRINUSE: address already in use :::3000 at Server.setupListenHandle [as _listen2] (net.js:1308:16) at listenInCluster (net.js:1356:12) at Server.listen (net.js:1444:7) at Function.listen (/root/Tsuyo-latest/Tsuyo/node_modules/express/lib/application.js:618:24) at initWeb (/root/Tsuyo-latest/Tsuyo/modules/web.js:62:7) at module.exports (/root/Tsuyo-latest/Tsuyo/events/ready.js:41:28) at Client.emit (events.js:317:22) at WebSocketConnection.triggerReady (/root/Tsuyo-latest/Tsuyo/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:128:17) at WebSocketConnection.checkIfReady (/root/Tsuyo-latest/Tsuyo/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:144:61) at ReadyHandler.handle (/root/Tsuyo-latest/Tsuyo/node_modules/discord.js/src/client/websocket/packets/handlers/Ready.js:80:8)

Website

Hello I have the question, when I lunch the bot the link of the webiste is http://localhost:3000 right?

Per-guild configuration

Gives a way to configure settings for the guild the bot is in.

For example, default prefix for commands is '/'. Using a command, it would set the prefix of commands to the args of the message. It will only change the prefix in the guild the message was executed from

There's a guide here on how to do it

Economy system

  • Give, balance and daily bonus system
  • Shopping system
  • Inventory
  • Casino system
  • Allow voting to give money

error here

10| 		  <h1 class="title">Servers you can manage: </h1>
11| 		  <% djsclient.guilds.cache.forEach((guild) => { %>

12| <% if (!guild.member(user.id)) return %>
13| <% const member = guild.members.cache.find(p => p.id === user.id) %>
14| <% if (!member.hasPermission('ADMINISTRATOR')) return %>
15| <% if (!djsclient.guilds.cache.has(guild.id)) { %>

guild.member is not a function

guilds.forEach is not a function error

I get this error when I'm on the dashboard.

Error:

    9|       <div class="servers">
    10| 		  <h1 class="title">Servers you can manage:</h1>
 >> 11| 		  <% guilds.forEach((guild) => { %>
    12| 			<% if (!djsclient.guilds.has(guild.id)) { %>
    13| 			  <a id="invite-btn" target="_blank" href="https://discordapp.com/oauth2/authorize?client_id=492871769485475840&scope=bot&permissions=1506142455&guild_id=<%= guild.id %>">Invite to server
    14| 			  </a>

guilds.forEach is not a function
    at eval (/home/runner/Tsuyo-1/views/servers.ejs:15:15)
    at servers (/home/runner/Tsuyo-1/node_modules/ejs/lib/ejs.js:682:17)
    at tryHandleCache (/home/runner/Tsuyo-1/node_modules/ejs/lib/ejs.js:254:36)
    at View.exports.renderFile [as engine] (/home/runner/Tsuyo-1/node_modules/ejs/lib/ejs.js:485:10)
    at View.render (/home/runner/Tsuyo-1/node_modules/express/lib/view.js:135:8)
    at tryRender (/home/runner/Tsuyo-1/node_modules/express/lib/application.js:640:10)
    at Function.render (/home/runner/Tsuyo-1/node_modules/express/lib/application.js:592:3)
    at ServerResponse.render (/home/runner/Tsuyo-1/node_modules/express/lib/response.js:1012:7)
    at router.get (/home/runner/Tsuyo-1/routes/servers.js:7:7)
    at Layer.handle [as handle_request] (/home/runner/Tsuyo-1/node_modules/express/lib/router/layer.js:95:5)

Suggestions system

;;suggest [suggestion including spaces] will send an embed to the suggestions channel (configured by ;;config) and react with yes and no emotes. Typing ;;accept [message id] will add it to the accepted suggestions channel (also configured by ;;config). Maybe even a ;;deny command too.

Profile system

  • XP and levelling system
  • Profile card
  • Progress bar
  • Reputation system
  • Per-guild leaderboard
  • Global level

got error log selfhost TOKEN

i have to add my token bot

[Tsuyo] โœ˜ ERR:   Error [TOKEN_INVALID]: An invalid token was provided.
Error [TOKEN_INVALID]: An invalid token was provided.
    at Client.login (C:\Users\Kasepta\Desktop\Tsuyo-master\node_modules\discord.js\src\client\Client.js:205:52)
    at Object.<anonymous> (C:\Users\Kasepta\Desktop\Tsuyo-master\bot.js:76:8)
    at Module._compile (internal/modules/cjs/loader.js:1076:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47
[Tsuyo] โ†’ INFO:  Loading command: 50. Command 1
[Tsuyo] โœ˜ ERR:   C:\Users\Kasepta\Desktop\Tsuyo-master\commands\8ball.js:30
  }
  ^

SyntaxError: Missing catch or finally after try
    at wrapSafe (internal/modules/cjs/loader.js:992:16)
    at Module._compile (internal/modules/cjs/loader.js:1040:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
    at Module.require (internal/modules/cjs/loader.js:965:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at C:\Users\Kasepta\Desktop\Tsuyo-master\modules\commands.js:23:19
    at Array.forEach (<anonymous>)
    at C:\Users\Kasepta\Desktop\Tsuyo-master\modules\commands.js:18:11

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.