Home:
/:discord://-/- friends:
discord://-/channels/@me/ - snowsgiving (Discord's yearly event in december):
discord://-/snowsgiving - nitro:
discord://-/store - message requests:
discord://-/message-requests
| # Copyright 2023-present Michael Hall | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # Copyright 2023-present Michael Hall | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # MIT License | |
| # | |
| # Copyright (c) 2023 Michael Hall | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
| # Copyright 2022 Michael Hall | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # Copyright 2022 Michael Hall | |
| # LICENSE: Apache License, Version 2.0 : http://www.apache.org/licenses/LICENSE-2.0 | |
| from __future__ import annotations | |
| import discord | |
| import pathlib | |
| import random | |
| from discord import app_commands |
| #!/usr/bin/env python3 | |
| """ | |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| #!/bin/bash | |
| # This is a shitty workaround to Ankama not providing everything required in an actual package | |
| # or even a proper dependency list. | |
| # License: Unlicense, see bottom of file | |
| if [ $# -ne 2 ]; then | |
| echo "Usage: $0 path/to/dofus.tar.gz path/to/place/game/folder" | |
| exit 0 |
| ;This section makes the flashing dofus window come to front, dont touch this without knowing what you are doing | |
| DetectHiddenWindows, On | |
| Script_Hwnd := WinExist("ahk_class AutoHotkey ahk_pid " DllCall("GetCurrentProcessId")) | |
| DetectHiddenWindows, Off | |
| DllCall("RegisterShellHookWindow", "uint", Script_Hwnd) | |
| OnMessage(DllCall("RegisterWindowMessage", "str", "SHELLHOOK"), "ShellEvent") | |
| ShellEvent(wParam, lParam) { | |
| if (wParam = 0x8006) HSHELL_FLASH | |
| { | |
| WinGet,descobre,ProcessName, ahk_id %lParam% |