Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!ping #7

Open
Jacob-Hunt opened this issue Aug 23, 2019 · 0 comments
Open

!ping #7

Jacob-Hunt opened this issue Aug 23, 2019 · 0 comments
Labels
enhancement New feature or request new command An idea for something the bot can't currently do

Comments

@Jacob-Hunt
Copy link
Contributor

Jacob-Hunt commented Aug 23, 2019

Is your feature request related to a problem? Please describe.

The feature request is not related to a problem per-se; just an incomplete code segment. There was a piece of code which was partially written during an Online Code Night and, as it is incomplete, it has not been included in the most recent merge to master. It reads as follows:

.# The following segment of code was written by @TheToiletTyrant (316thebrains)

.#############################################################
.# This code has been QUARENTINED due to it's infinite loops #
.#############################################################
.# @client.command(name='ping') #
.# async def pingCmd(ctx): #
.# s=socket.socket(socket.AF_INET, socket.SOCK_STREAM) #
.# server_ip = ("discordapp.com") #
.# rep = os.system("ping " + server_ip) #
.# #
.# ctx.send(rep) #
.#############################################################
.# ping command (needs to be worked on) #
.#############################################################

Describe the solution you'd like
I am not personally attached to one solution over any other.

Describe alternatives you've considered
The code segment could potentially be completed and used at some point in the future. It may also be possible to use the bash "ping" command (https://ss64.com/bash/ping.html) via "!bash" without the need to implement our own version of the command.

@Jacob-Hunt Jacob-Hunt added enhancement New feature or request new command An idea for something the bot can't currently do labels Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new command An idea for something the bot can't currently do
Projects
None yet
Development

No branches or pull requests

1 participant