Code Monkey home page Code Monkey logo

darkempire78 / discord-tools Goto Github PK

View Code? Open in Web Editor NEW
144.0 5.0 22.0 9.3 MB

VSCode extension allowing the integration of a Discord chat, bot templates, snippets, themes and more!

Home Page: https://marketplace.visualstudio.com/items?itemName=Darkempire78.discord-tools

License: GNU General Public License v3.0

JavaScript 84.97% HTML 5.49% CSS 2.04% Python 3.91% Java 3.59%
visual-studio-code-extension visual-studio-code discord discord-bot discord-js discord-py discordjs discordbot discord-java jda

discord-tools's Introduction

DARKEMPIRE'S PROFILE

Hi, I'm Clément, I'm 20 and I live in France.
I'm passionated about computing and marketing. I'm also fascinated by machine learning and AI.

My stats GitHub Stats

trophy Top Language

Contact me
  • Discord : Backslashh#8245 (Darkempire)

Join the Discord server !

To play 2048

Game in progress. This is a public game of 2048. Anyone can play.

It's your turn, click on a button below the board!

Leaderboard

Players Actions
@Darkempire78 17
@Pandicon 15
@Zerbaib 13
@8BitJonny 10
@patpat-iris 9
@andalonga 5
@wolf-yuan-6115 4
@zurgeg 4
@Camillewz24340 4
@AlexisHuvier 3
How this works When you click a button, it opens a GitHub Issue with the required pre-populated text. Just push "Create New Issue". That will trigger a GitHub Actions workflow that'll update my GitHub Profile README.md with the new state of the gameboard.

Do you want to make your own? Check out my readme 2048 template!

discord-tools's People

Contributors

chethanyadav456 avatar danthe1st avatar darkempire78 avatar dependabot[bot] avatar jackietkfrost avatar jubnl avatar julianqarim avatar kintonhiryuu avatar maplerxyz avatar sirenglitch avatar sravan1946 avatar superdasher avatar swifttvv avatar theonlywayup avatar verticalsync avatar wasi-master avatar wheneverdev 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

discord-tools's Issues

Update discord.py snippets

hey! discord.py got updated and for example now it has slash commands, but there are no snippets for it

Harmony Snippets

Salut, j'ai test l'extension parce que ça m'a intéressé mais les snippets Harmony ne fonctionnent pas, en fait bah y'en a tout simplement pas ou bien ils sont pas détectés.

Une idée d'où ça vient ?

Listeners

Add listeners as a folder and register them in the code

No channel selected

I've entered my user token and started the Discord Chat, when I open it, there is a window that just says #No Channel Selected. There doesn't appear to be a way to set a selected channel in the settings either.

Getting error from events

(node:11924) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.

PyTemplate args

What about using command line args to make the bot works differently from the main.py file ?
That way, it could be possible to enhance the aspects and/or have different build without making scripts at once...

Fix the typo in the description

The current description is:
"VSCode extension allowing the integration of a Dicord chat, bot templates, snippets, themes and more!"

Change "Dicord" to "Discord"

Can't figure out the chat function.

I'm trying to open the chat for this tool but I can't seem to get it to open as it says "No channel selected". If you or someone else could assist me in making it work that would be great.

Error on the discord.py template(OnCommandError.py)

The discord.py template has an error on the OnCommandError cog (Well I believe it was a mistake)

async def on_command_error(self, ctx:commands.Contex, error:commands.CommandError):
Contex

I'm not entirely sure about it, as I'm fairly new to using discord.py as well as ext
but thought it'd be nice to make an issue about it anyway.

Feature for commands

Add to the commands the ability to set categories, so it would be easier to create a dynamic help for the bot itself.

Extension issue

  • Issue Type: Bug
  • Extension Name: discord-tools
  • Extension Version: 1.4.3
  • OS Version: Windows_NT x64 6.3.9600
  • VS Code version: 1.61.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

python extension conflict

almost all of the internal chats inside vscode don't work because somehow it conflicts with the python extension from Microsoft. I tested it with every other extension and apparently only that one creates problems

Extension issue

  • Issue Type: Bug
  • Extension Name: discord-tools
  • Extension Version: 1.4.3
  • OS Version: Windows_NT x64 10.0.19043
  • VS Code version: 1.57.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

Should i add aoi.js ?

This is going to be a big thing as aoi has a large variety of stuff I would wanna add just seeking your permission for that

Update discord.py snippets to v2

Hey there!

Loved this tool, has made learning, understanding & using the discord api a lot easier (Solid internal comments <3),
Just a thought on enhancements, us using community servers just got this notification out a wee while ago saying discord is integrating bots into the '/' context menu, would be awesome to see this template tool make use of this new feature, I'll drop screenshots giving more detail <3

Keep up the awesome work!
image

commands.mov

Typos within Extension Settings

Every setting says "Python wrapper" in its description when it should say its corresponding language

image

I have submitted a fix at #55 but thought I should make an issue just to bring an eye to it

djs.cmd / djs.cmd+ generating wrong commands

I used the "generate discord-js bot" function.
When i want to create a command, i use "djs.cmd+" (tested with djs.cmd too) then write my code
try to execute the command and.... the bot can't "run" the command

error is : generating a "execute" function instead of a "run" function

  • the placed arguments are wrongly placed, leading the "message" to be the "client" variable

image
image
image

PS : why not add a const Discord = require("discord.js") at the beginning so we can use djs.embed more efficiently ?

PS² : thanks a lot for this time-saver tool, i'll try to contribute as soon as i have some time to

Trouble with FS

Error: Cannot find module './commands/file'
Require stack:

  • A:\devbot\index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)
    at Function.Module._load (internal/modules/cjs/loader.js:928:27)
    at Module.require (internal/modules/cjs/loader.js:1145:19)
    at require (internal/modules/cjs/helpers.js:75:18)
    at Object. (A:\devbot\index.js:11:18)
    at Module._compile (internal/modules/cjs/loader.js:1256:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)
    at Module.load (internal/modules/cjs/loader.js:1105:32)
    at Function.Module._load (internal/modules/cjs/loader.js:967:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ 'A:\devbot\index.js' ]
    }

const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); for (const file of commandFiles) { const command = require(./commands/file); client.commands.set(command.name, command); }

Fix const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); for (const file of commandFiles) { const command = require(./commands/${file}); client.commands.set(command.name, command); }

Buttons

add a button template (and probably also select meus and modal dialogs) to pycord

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.